summaryrefslogtreecommitdiff
path: root/openstackclient/volume
diff options
context:
space:
mode:
authorHuanxuan Ao <huanxuan.ao@easystack.cn>2016-07-04 16:42:42 +0800
committerHuanxuan Ao <huanxuan.ao@easystack.cn>2016-07-04 16:46:28 +0800
commit8aa00894efacc29185da660fb3ae7c42adefaa09 (patch)
tree971021b2c8c6bfe30fde1593e18acb5cb880a2ee /openstackclient/volume
parent605efe67111790ed4801fd5b75ff314d2353d625 (diff)
downloadpython-openstackclient-8aa00894efacc29185da660fb3ae7c42adefaa09.tar.gz
Remove useless dest of option in "snapshot create" command
The option is '--force' and the default argument is 'force', so the 'dest=force' is useless and unnecessary. This patch remove it. Change-Id: If8fd5270e4e36b5361127f4a91bdf347f29341c2
Diffstat (limited to 'openstackclient/volume')
-rw-r--r--openstackclient/volume/v2/snapshot.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/openstackclient/volume/v2/snapshot.py b/openstackclient/volume/v2/snapshot.py
index 439904e7..5aba04ae 100644
--- a/openstackclient/volume/v2/snapshot.py
+++ b/openstackclient/volume/v2/snapshot.py
@@ -46,7 +46,6 @@ class CreateSnapshot(command.ShowOne):
)
parser.add_argument(
"--force",
- dest="force",
action="store_true",
default=False,
help=_("Create a snapshot attached to an instance. "