summaryrefslogtreecommitdiff
path: root/openstackclient/volume/v2/snapshot.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-09-26 13:19:12 +0000
committerGerrit Code Review <review@openstack.org>2016-09-26 13:19:12 +0000
commit10d1c2fd4eec0bf1f7fe1899844f0bd956db6788 (patch)
tree36cde1ffdee070204bbe703decae32734a132327 /openstackclient/volume/v2/snapshot.py
parent5ce90a82985af09a177b5e09f7adb57e177bc1aa (diff)
parent3ebc7520a6ecdf6260757daf7ad913a1bff4e342 (diff)
downloadpython-openstackclient-10d1c2fd4eec0bf1f7fe1899844f0bd956db6788.tar.gz
Merge "Add warning message for --state option of set command in volume"
Diffstat (limited to 'openstackclient/volume/v2/snapshot.py')
-rw-r--r--openstackclient/volume/v2/snapshot.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/openstackclient/volume/v2/snapshot.py b/openstackclient/volume/v2/snapshot.py
index 0d826551..4994e0da 100644
--- a/openstackclient/volume/v2/snapshot.py
+++ b/openstackclient/volume/v2/snapshot.py
@@ -230,8 +230,11 @@ class SetSnapshot(command.Command):
metavar='<state>',
choices=['available', 'error', 'creating', 'deleting',
'error-deleting'],
- help=_('New snapshot state. Valid values are available, '
- 'error, creating, deleting, and error-deleting.'),
+ help=_('New snapshot state. ("available", "error", "creating", '
+ '"deleting", or "error_deleting") (admin only) '
+ '(This option simply changes the state of the snapshot '
+ 'in the database with no regard to actual status, '
+ 'exercise caution when using)'),
)
return parser