Comment 7 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 -

Just means that im marking it as something id like to help the community with. Are you recommending that we close this issue?

Vic

> On Feb 16, 2014, at 1:47 PM, Luis de Bethencourt <email address hidden> wrote:
>
> Hello Victor,
>
> I am new to the OpenStack community. Do you mind if I ask you what it
> means that you assign the keystone part of this bug to yourself?
>
>> From reading the code I can see the source of the problem is in
> oslo.config, and fixed in my patch. There is probably nothing to do in
> keystone since this will automatically be sorted out when the code from
> oslo.config is imported in.
>
> --
> 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