← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1279973] Re: Help text for deprecated cli option has _ rather than -

 

I added keystone since it shows up in the help text but since this is in
oslo.config (I assume) all we have to do is wait for the new release.

** Also affects: keystone
   Importance: Undecided
       Status: New

-- 
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):
  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