Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2018-03-18 00:16:54 +0300
committerYann Leboulanger <asterix@lagaule.org>2018-03-18 00:18:41 +0300
commit8fe2f8421ef50f1ba19c6ee426e5b9d8d8fa0b3d (patch)
tree05d2ad3bb0300907c26537dc23cf922e7f61e343
parent50f7abcb68c2df11c6e59ab1aa2562a35334b599 (diff)
don't crash when we parse arguments in history manager. Fixes #8959
-rw-r--r--gajim/history_manager.py4
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))