extension commands and options should be marked
Bug #1094713 reported by
Akihiro Motoki
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-neutronclient |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
Subcommands and options introduced by an extension should be marked.
For example, port-create --security-group option and security-group-* subcommands are specific to security group extension.
The same thing is applied to other extensions (router, quota, ...)
Since descriptions in the subcommand list displayed by "quantum --help" become long, it is better to introduce categories of subcommands and extension-specific notes should be added to corresponding categories.
Changed in python-neutronclient: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Yeah, I'd really like to see a good solution here, such as having help actually check what extensions are enabled on the currently configured quantum server, and only show those options. Otherwise, we're going to have a mess of things exposed in help that the user can't do.
The only problem I see with pinging the server is that we need to be able to print some help text even if the server is unreachable. I guess we could fall back to printing a warning and show all options regardless of extension.
I'm adding Yong and Mark to get their thoughts.