Remove useless dest of option in volume v1&v2

some "dest" argument is useless because they are
the same as the option name. So remove them.

Change-Id: Idd37e8816cf8b0833c94a5e741fdfe56602551f9
This commit is contained in:
Huanxuan Ao 2016-07-11 10:10:59 +08:00
parent ffa2b56713
commit cd189860e5
3 changed files with 0 additions and 4 deletions

View File

@ -175,7 +175,6 @@ class DeleteVolume(command.Command):
)
parser.add_argument(
'--force',
dest='force',
action='store_true',
default=False,
help=_('Attempt forced removal of volume(s), regardless of state '

View File

@ -167,7 +167,6 @@ class DeleteVolume(command.Command):
)
parser.add_argument(
"--force",
dest="force",
action="store_true",
default=False,
help=_("Attempt forced removal of volume(s), regardless of state "

View File

@ -47,14 +47,12 @@ class CreateVolumeType(command.ShowOne):
public_group = parser.add_mutually_exclusive_group()
public_group.add_argument(
"--public",
dest="public",
action="store_true",
default=False,
help=_("Volume type is accessible to the public"),
)
public_group.add_argument(
"--private",
dest="private",
action="store_true",
default=False,
help=_("Volume type is not accessible to the public"),