Comment 9 for bug 1279973

Revision history for this message
Victor Howard (victor-r-howard) wrote : Re: [Bug 1279973] Re: Help text for deprecated cli option has _ rather than -

Ah had no clue that u fixed it already thanks for the heads up

Vic

> On Feb 16, 2014, at 3:04 PM, Luis de Bethencourt <email address hidden> wrote:
>
> No, this shouldn't be closed until the patch (73694) is reviewed and
> merged. Just saying that the problem will be fixed in Keystone as well
> when that happens.
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1279973
>
> Title:
> Help text for deprecated cli option has _ rather than -
>
> Status in OpenStack Identity (Keystone):
> New
> Status in Oslo - a Library of Common OpenStack Code:
> New
>
> 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