summaryrefslogtreecommitdiff
path: root/openstackclient/volume
diff options
context:
space:
mode:
authorHuanxuan Ao <huanxuan.ao@easystack.cn>2016-07-11 10:10:59 +0800
committerHuanxuan Ao <huanxuan.ao@easystack.cn>2016-07-11 10:10:59 +0800
commitcd189860e5cf7d9e85235b55dfa3f67e5a1f67d8 (patch)
tree3f780caa3179f9d3ac83789092ed773f9bcafa1c /openstackclient/volume
parentffa2b56713e8f321bc48d2e6efb7ace2757b2f5e (diff)
downloadpython-openstackclient-cd189860e5cf7d9e85235b55dfa3f67e5a1f67d8.tar.gz
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
Diffstat (limited to 'openstackclient/volume')
-rw-r--r--openstackclient/volume/v1/volume.py1
-rw-r--r--openstackclient/volume/v2/volume.py1
-rw-r--r--openstackclient/volume/v2/volume_type.py2
3 files changed, 0 insertions, 4 deletions
diff --git a/openstackclient/volume/v1/volume.py b/openstackclient/volume/v1/volume.py
index e11aa1a7..820673bb 100644
--- a/openstackclient/volume/v1/volume.py
+++ b/openstackclient/volume/v1/volume.py
@@ -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 '
diff --git a/openstackclient/volume/v2/volume.py b/openstackclient/volume/v2/volume.py
index be2388fb..0ee7bd8f 100644
--- a/openstackclient/volume/v2/volume.py
+++ b/openstackclient/volume/v2/volume.py
@@ -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 "
diff --git a/openstackclient/volume/v2/volume_type.py b/openstackclient/volume/v2/volume_type.py
index 87f4c547..91ac17a1 100644
--- a/openstackclient/volume/v2/volume_type.py
+++ b/openstackclient/volume/v2/volume_type.py
@@ -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"),