2015-04-16 12:29:24 |
opavlenk |
bug |
|
|
added bug |
2015-04-16 14:17:29 |
Steve Martinelli |
summary |
Usage is not described accurately for 99% of openstack CLI sub commands |
-h and --help are not recognized and revert to top level help |
|
2015-04-16 14:21:13 |
Steve Martinelli |
description |
Description of problem:
Usage is wrong for 99% of openstack baremetal sub-commands
Version-Release number of selected component (if applicable):
python-openstackclient-1.0.3-post13.el7.centos.noarch
How reproducible:
100%
Steps to Reproduce:
1.run 'openstack help baremetal set' (or any other sub command)
Actual results:
usage: openstack baremetal power [-h] [--on | --off] <node>
Expected results:
openstack help baremetal power [--on | --off] <node> |
The only way to get help output for a 'sub-command' (like `user set` or `user list`) is to insert 'help' as the first positional argument.
Like so: $ openstack help user set`
usage: openstack user set [-h] [--name <name>] [--project <project>]
[--password <user-password>] [--password-prompt]
[--email <email-address>] [--enable | --disable]
<user>
If using -h or --help anywhere, the "top-level" help output is printed. (the same output as `openstack help`)
$ openstack user set --help
OR
$ openstack -h user set
Will both print out the *entire* help output, with all env. properties and command options.
usage: openstack [--version] [-v] [--log-file LOG_FILE] [-q] [--debug]
[--os-region-name <auth-region-name>]
[--os-cacert <ca-bundle-file>] [--verify | --insecure]
...
Commands:
aggregate add host Add host to aggregate
aggregate create Create a new aggregate
aggregate delete Delete an existing aggregate |
|
2015-04-16 14:22:47 |
Steve Martinelli |
python-openstackclient: status |
New |
Confirmed |
|
2015-04-16 14:22:52 |
Steve Martinelli |
python-openstackclient: importance |
Undecided |
Medium |
|
2015-04-16 14:22:58 |
Steve Martinelli |
python-openstackclient: milestone |
|
m9 |
|
2015-04-16 14:44:58 |
Steve Martinelli |
summary |
-h and --help are not recognized and revert to top level help |
-h and --help revert to top level help when used in a subcommand |
|
2015-04-16 15:27:34 |
Dean Troyer |
python-openstackclient: status |
Confirmed |
Invalid |
|
2015-04-21 19:01:47 |
Dean Troyer |
python-openstackclient: milestone |
m9 |
|
|
2015-07-09 17:59:41 |
Steve Martinelli |
python-openstackclient: status |
Invalid |
Confirmed |
|
2015-07-09 18:00:04 |
Steve Martinelli |
python-openstackclient: assignee |
|
Sean Perry (sean-perry-a) |
|
2015-07-13 15:56:39 |
Sean Perry |
python-openstackclient: status |
Confirmed |
In Progress |
|
2015-07-13 18:28:24 |
Steve Martinelli |
bug task added |
|
python-cliff |
|
2015-07-13 18:28:44 |
Steve Martinelli |
python-cliff: status |
New |
In Progress |
|
2015-07-13 22:19:20 |
OpenStack Infra |
python-cliff: assignee |
|
Sean Perry (sean-perry-a) |
|
2015-07-16 19:08:35 |
OpenStack Infra |
python-cliff: status |
In Progress |
Fix Committed |
|
2015-08-08 08:15:09 |
Steve Martinelli |
python-openstackclient: status |
In Progress |
Invalid |
|
2015-08-10 20:15:49 |
Doug Hellmann |
python-cliff: status |
Fix Committed |
Fix Released |
|
2015-08-10 20:15:49 |
Doug Hellmann |
python-cliff: milestone |
|
1.14.0 |
|