changeset 6528ecfbf8c1 in /home/hg/repos/gajim
author: Denis Fomin fominde@gmail.com branches: details:http://hg.gajim.org/gajim?cmd=changeset;node=6528ecfbf8c1 description: [Darlan] Expand --help. Fixes #7439
diffstat:
src/gajim.py | 18 +++++++++++++++--- 1 файлов изменено, 15 вставок(+), 3 удалений(-)
различия (28 строк):
diff -r da80e2a35d06 -r 6528ecfbf8c1 src/gajim.py --- a/src/gajim.py Sun Aug 25 19:03:15 2013 +0200 +++ b/src/gajim.py Mon Aug 26 00:40:05 2013 +0400 @@ -132,9 +132,21 @@ sys.exit(2) for o, a in opts: if o in ('-h', '--help'): - print 'gajim [--help] [--quiet] [--verbose] ' + \ - '[--loglevel subsystem=level[,subsystem=level[...]]] ' + \ - '[--profile name] [--config-path]' + print 'Usage: ' + \ + '\n gajim [options] filename\n' + \ + '\nOptions:' + \ + '\n -h, --help ' + \ + _('Show this help message and exit') + \ + '\n -q, --quiet ' + _\ + ('Show only critical errors') + \ + '\n -v, --verbose ' + \ + _('Print xml stanzas and other debug information') + \ + '\n -p, --profile ' + \ + _('Use config.name in configuration directory') + \ + '\n -c, --config-path ' + \ + _('Set configuration directory') + \ + '\n -l, --loglevel ' + \ + _('Configure logging system') sys.exit() elif o in ('-q', '--quiet'): logging_helpers.set_quiet()