summaryrefslogtreecommitdiff
path: root/openstackclient/volume/v2/backup.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/backup.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/backup.py')
-rw-r--r--openstackclient/volume/v2/backup.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/openstackclient/volume/v2/backup.py b/openstackclient/volume/v2/backup.py
index 4a133d36..2ca35b24 100644
--- a/openstackclient/volume/v2/backup.py
+++ b/openstackclient/volume/v2/backup.py
@@ -305,7 +305,10 @@ class SetVolumeBackup(command.Command):
'--state',
metavar='<state>',
choices=['available', 'error'],
- help=_('New backup state ("available" or "error") (admin only)'),
+ help=_('New backup state ("available" or "error") (admin only) '
+ '(This option simply changes the state of the backup '
+ 'in the database with no regard to actual status, '
+ 'exercise caution when using)'),
)
return parser