diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-09-26 13:19:12 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-09-26 13:19:12 +0000 |
| commit | 10d1c2fd4eec0bf1f7fe1899844f0bd956db6788 (patch) | |
| tree | 36cde1ffdee070204bbe703decae32734a132327 /openstackclient/volume/v2/snapshot.py | |
| parent | 5ce90a82985af09a177b5e09f7adb57e177bc1aa (diff) | |
| parent | 3ebc7520a6ecdf6260757daf7ad913a1bff4e342 (diff) | |
| download | python-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.py | 7 |
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 |
