From 83e989fa35907cbe26feada6f0f4a841df4de9f5 Mon Sep 17 00:00:00 2001 From: Dolph Mathews Date: Mon, 11 Feb 2013 16:09:08 -0600 Subject: Cleaned up keystone-all --help output - Added a missing space: mayuse -> may use - Removed default values from help messages, which were appearing as None, and should be added by argparse anyway - Updated man pages Change-Id: I471a1aaff40398488e19f91a16bd91d2d17db61d --- keystone/config.py | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'keystone/config.py') diff --git a/keystone/config.py b/keystone/config.py index 3c01a88f..86d510da 100644 --- a/keystone/config.py +++ b/keystone/config.py @@ -51,27 +51,25 @@ logging_cli_opts = [ cfg.StrOpt('log-format', default=_DEFAULT_LOG_FORMAT, metavar='FORMAT', - help='A logging.Formatter log message format string which may' - 'use any of the available logging.LogRecord attributes. ' - 'Default: %(default)s'), + help='A logging.Formatter log message format string which may ' + 'use any of the available logging.LogRecord attributes.'), cfg.StrOpt('log-date-format', default=_DEFAULT_LOG_DATE_FORMAT, metavar='DATE_FORMAT', - help='Format string for %%(asctime)s in log records. ' - 'Default: %(default)s'), + help='Format string for %%(asctime)s in log records.'), cfg.StrOpt('log-file', metavar='PATH', - help='(Optional) Name of log file to output to. ' + help='Name of log file to output. ' 'If not set, logging will go to stdout.'), cfg.StrOpt('log-dir', - help='(Optional) The directory to keep log files in ' - '(will be prepended to --logfile)'), + help='The directory in which to store log files. ' + '(will be prepended to --log-file)'), cfg.BoolOpt('use-syslog', default=False, help='Use syslog for logging.'), cfg.StrOpt('syslog-log-facility', default='LOG_USER', - help='syslog facility to receive log lines') + help='syslog facility to receive log lines.') ] CONF = cfg.CONF -- cgit