cinder group-show --list-volume args incorrect.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-cinderclient |
New
|
Undecided
|
Hanxi Liu |
Bug Description
cinder group-show with an option to list the volumes was introduced with https:/
# cinder help group-show
usage: cinder group-show [--list-volume [<False|True>]] <group>
Shows details of a group.
Positional arguments:
<group> Name or ID of a group.
Optional arguments:
--list-volume [<False|True>]
There are two issues:
1. --list-volume should be --list-volumes as other commands use --<cmd>-volumes
# cinder help group-delete
usage: cinder group-delete [--delete-volumes] <group> [<group> ...]
Removes one or more groups.
Positional arguments:
<group> Name or ID of one or more groups to be deleted.
Optional arguments:
--delete-volumes Allows or disallows groups to be deleted if they are not
# cinder help group-update
usage: cinder group-update [--name <name>] [--description <description>]
Updates a group.
Positional arguments:
<group> Name or ID of a group.
Optional arguments:
--name <name> New name for group. Default=None.
--description <description>
--add-volumes <uuid1,
--remove-volumes <uuid3,
2. there is no need for a False|True argument, the option being present is already a call for True.
Changed in python-cinderclient: | |
assignee: | nobody → Hanxi Liu (hanxi-liu) |
I'm concern if there is need change list-volume to list-volumes.