Yann Leboulanger pushed to branch master at gajim / gajim

Commits:
504bfef7 by Yann Leboulanger at 2018-03-17T22:16:54+01:00
don't crash when we parse arguments in history manager. Fixes #8959

- - - - -


1 changed file:

- gajim/history_manager.py


Changes:

=====================================
gajim/history_manager.py
=====================================
--- 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))



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/504bfef7dbde33f4f708ef1120695f182514f18f

---
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/504bfef7dbde33f4f708ef1120695f182514f18f
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to