diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2018-03-18 00:16:54 +0300 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2018-03-18 00:18:41 +0300 |
commit | 8fe2f8421ef50f1ba19c6ee426e5b9d8d8fa0b3d (patch) | |
tree | 05d2ad3bb0300907c26537dc23cf922e7f61e343 | |
parent | 50f7abcb68c2df11c6e59ab1aa2562a35334b599 (diff) |
don't crash when we parse arguments in history manager. Fixes #8959
-rw-r--r-- | gajim/history_manager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gajim/history_manager.py b/gajim/history_manager.py index f53073788..62c345807 100644 --- a/gajim/history_manager.py +++ b/gajim/history_manager.py @@ -44,8 +44,8 @@ def parseOpts(): config_path = None try: - shortargs = 'hc:' - longargs = 'help config-path=' + shortargs = 'hvc:l:p:' + longargs = 'help verbose config-path= loglevel= profile=' opts = getopt.getopt(sys.argv[1:], shortargs, longargs.split())[0] except getopt.error as msg: print(str(msg)) |