Add emty line to the end of help strings

This commit is contained in:
Denis Fomin 2013-11-18 22:51:56 +04:00
parent 8e231c1d4f
commit 6b35ad79e5
2 changed files with 3 additions and 3 deletions

View File

@ -152,7 +152,7 @@ def parseOpts():
'\n -c, --config-path ' + \ '\n -c, --config-path ' + \
_('Set configuration directory') + \ _('Set configuration directory') + \
'\n -l, --loglevel ' + \ '\n -l, --loglevel ' + \
_('Configure logging system')) _('Configure logging system') + '\n')
sys.exit() sys.exit()
elif o in ('-q', '--quiet'): elif o in ('-q', '--quiet'):
logging_helpers.set_quiet() logging_helpers.set_quiet()

View File

@ -76,13 +76,13 @@ def parseOpts():
_('Options:') + \ _('Options:') + \
'\n -h, --help ' + \ '\n -h, --help ' + \
_('Show this help message and exit') + \ _('Show this help message and exit') + \
'\n -c, --config-path ' + _('Set logs directory')) '\n -c, --config-path ' + _('Set logs directory') + '\n')
sys.exit() sys.exit()
elif o in ('-c', '--config-path'): elif o in ('-c', '--config-path'):
config_path = a config_path = a
return config_path return config_path
config_path = parseOpts() onfig_path = parseOpts()
del parseOpts del parseOpts
import common.configpaths import common.configpaths