suggest commands if command is not recognized
Bug #1462192 reported by
Rushi Agrawal
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cliff |
Fix Released
|
Undecided
|
Ayakashi | ||
python-openstackclient |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
A usability issue, and maybe a wishlist bug, but it would be really great if for example when a user types
openstack user
then we tell the user that the command needs another word as an argument, and the possible words are 'list', 'create', 'delete'.
Changed in python-openstackclient: | |
assignee: | nobody → heha (zhanghanqun) |
Changed in python-openstackclient: | |
assignee: | heha (zhanghanqun) → kafka (guowang) |
Changed in python-openstackclient: | |
assignee: | nobody → jiaxi (tjxiter) |
Changed in python-cliff: | |
assignee: | kafka (guowang) → Steve Martinelli (stevemar) |
Changed in python-cliff: | |
assignee: | Steve Martinelli (stevemar) → kafka (guowang) |
Changed in python-openstackclient: | |
assignee: | jiaxi (tjxiter) → nobody |
summary: |
- 'openstack user' throws error with no helpful message, even though - 'openstack user list' works + suggest commands if command is not recognized |
Changed in python-cliff: | |
milestone: | none → 1.14.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
tab-completion spits out the arguments
$ openstack user <tab>
create delete list role set show
Can you check with the latest python- openstackclient ?