← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1260538] [NEW] nova-manage useage exposes action-args

 

You have been subscribed to a public bug:

The nova-manage command exposes the action_args options during the usage
output for command.

E.g.
$ nova-manage network modify -h
usage: nova-manage network modify [-h] [--fixed_range <x.x.x.x/yy>]
                                  [--project <project name>] [--host <host>]
                                  [--disassociate-project]
                                  [--disassociate-host]
                                  [action_args [action_args ...]]

positional arguments:
  action_args

<snip>

This can cause confusion as users naturally expect there to be more
"actions" on commands like "modify". Even in straightforward cases, this
positional argument leaks into usage.

$ nova-manage db version -h
usage: nova-manage db version [-h] [action_args [action_args ...]]

positional arguments:
  action_args

Please consider suppressing documentation on action_args. In addition,
expose the __doc__ strings for these functions, which is done in the
nova command.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
nova-manage useage exposes action-args
https://bugs.launchpad.net/bugs/1260538
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova).


References