diff --git a/src/gajim.py b/src/gajim.py index 9ce0361dc..c000ce42d 100644 --- a/src/gajim.py +++ b/src/gajim.py @@ -152,7 +152,7 @@ def parseOpts(): '\n -c, --config-path ' + \ _('Set configuration directory') + \ '\n -l, --loglevel ' + \ - _('Configure logging system')) + _('Configure logging system') + '\n') sys.exit() elif o in ('-q', '--quiet'): logging_helpers.set_quiet() diff --git a/src/history_manager.py b/src/history_manager.py index a812c15c6..110274913 100644 --- a/src/history_manager.py +++ b/src/history_manager.py @@ -76,13 +76,13 @@ def parseOpts(): _('Options:') + \ '\n -h, --help ' + \ _('Show this help message and exit') + \ - '\n -c, --config-path ' + _('Set logs directory')) + '\n -c, --config-path ' + _('Set logs directory') + '\n') sys.exit() elif o in ('-c', '--config-path'): config_path = a return config_path -config_path = parseOpts() +onfig_path = parseOpts() del parseOpts import common.configpaths