yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #16223
[Bug 1279973] Re: Help text for deprecated cli option has _ rather than -
Not a bug in keystone; once it's fixed in oslo.config, we're done ... so
no need to track it in keystone
** Changed in: keystone
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1279973
Title:
Help text for deprecated cli option has _ rather than -
Status in OpenStack Identity (Keystone):
Invalid
Status in Oslo - a Library of Common OpenStack Code:
Triaged
Bug description:
In oslo-incubator log.py, there's a cli option with a deprecated value [1].
cfg.StrOpt('log-config-append',
deprecated_name='log-config',
help='...'),
When the help text is generated, the primary name has the -s as
expected, but the deprecated name has _:
--log-config-append PATH, --log_config PATH
You can see this in the output of keystone-all --help.
The deprecated name in the help text should use - just like the
primary name, so the output should be like:
--log-config-append PATH, --log-config PATH
[1] http://git.openstack.org/cgit/openstack/oslo-
incubator/tree/openstack/common/log.py?id=4f7e269ddb8f388c715c2505151a4f8add71dd0f#n83
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1279973/+subscriptions