nova should have all the options reformated

Bug #892083 reported by klmitch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Fix Released
High
Unassigned

Bug Description

Hi,
I'm using the last version of novaclient.
when I run nova --help only flags are list
In order to have all the available option, I need to type an non-existent command on purpose, in order to obtain the whole list of options.
That would be great to have a flag to list all option (eg nova --show-commands)
and print in column the result, the actual display is quite a pain to read :

usage: nova [--username USERNAME] [--apikey APIKEY] [--projectid PROJECTID]
            [--url URL] [--region_name REGION_NAME] [--version VERSION]
            <subcommand> ...
nova: error: argument <subcommand>: invalid choice: 'df' (choose from 'rename', 'zone-add', 'suspend', 'keypair-delete', 'resize-confirm', 'secgroup-delete-rule', 'migrate', 'remove-floating-ip', 'keypair-add', 'actions', 'meta', 'secgroup-create', 'add-fixed-ip', 'secgroup-delete-group-rule', 'secgroup-add-rule', 'floating-ip-list', 'help', 'image-list', 'pause', 'zone', 'keypair-list', 'show', 'boot', 'reboot', 'remove-fixed-ip', 'floating-ip-create', 'image-delete', 'zone-delete', 'volume-list', 'secgroup-list-rules', 'volume-detach', 'unpause', 'root-password', 'rescue', 'floating-ip-delete', 'resume', 'image-show', 'volume-delete', 'resize-revert', 'secgroup-delete', 'zone-info', 'volume-show', 'volume-create', 'rebuild', 'secgroup-add-group-rule', 'image-meta', 'resize', 'image-create', 'add-floating-ip', 'volume-attach', 'list', 'unrescue', 'secgroup-list', 'zone-list', 'diagnostics', 'zone-boot', 'flavor-list', 'delete')

Razique

Revision history for this message
klmitch (q-noreply) wrote :

Sorry, haven't seen the nova --help and nova help subtle difference.
My bad.

Thierry Carrez (ttx)
affects: nova → python-novaclient
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.