diff --git a/cinderclient/v1/shell.py b/cinderclient/v1/shell.py index 20e52c69c..bd442b976 100644 --- a/cinderclient/v1/shell.py +++ b/cinderclient/v1/shell.py @@ -332,9 +332,11 @@ def do_force_delete(cs, args): 'Separate multiple volumes with a space.') @utils.arg('--state', metavar='', default='available', help=('The state to assign to the volume. Valid values are ' - '"available," "error," "creating," "deleting," or ' - '"error_deleting." ' - 'Default is "available."')) + '"available," "error," "creating," "deleting," and ' + '"error_deleting." NOTE: This command simply changes ' + 'the state of the Volume in the DataBase with no regard ' + 'to actual status, exercise caution when using. ' + 'Default=available.')) @utils.service_type('volume') def do_reset_state(cs, args): """Explicitly updates the volume state.""" @@ -542,12 +544,13 @@ def do_snapshot_rename(cs, args): @utils.arg('snapshot', metavar='', nargs='+', help='Name or ID of snapshot to modify.') -@utils.arg('--state', metavar='', - default='available', +@utils.arg('--state', metavar='', default='available', help=('The state to assign to the snapshot. Valid values are ' - '"available," "error," "creating," "deleting," or ' - '"error_deleting." ' - 'Default is "available."')) + '"available," "error," "creating," "deleting," and ' + '"error_deleting." NOTE: This command simply changes ' + 'the state of the Snapshot in the DataBase with no regard ' + 'to actual status, exercise caution when using. ' + 'Default=available.')) @utils.service_type('volume') def do_snapshot_reset_state(cs, args): """Explicitly updates the snapshot state.""" diff --git a/cinderclient/v2/shell.py b/cinderclient/v2/shell.py index b52894776..626ac6f63 100644 --- a/cinderclient/v2/shell.py +++ b/cinderclient/v2/shell.py @@ -421,7 +421,9 @@ def do_force_delete(cs, args): @utils.arg('--state', metavar='', default='available', help=('The state to assign to the volume. Valid values are ' '"available," "error," "creating," "deleting," and ' - '"error_deleting." ' + '"error_deleting." NOTE: This command simply changes ' + 'the state of the Volume in the DataBase with no regard ' + 'to actual status, exercise caution when using. ' 'Default=available.')) @utils.service_type('volumev2') def do_reset_state(cs, args): @@ -674,8 +676,10 @@ def do_snapshot_rename(cs, args): default='available', help=('The state to assign to the snapshot. Valid values are ' '"available," "error," "creating," "deleting," and ' - '"error_deleting." ' - 'Default is "available."')) + '"error_deleting." NOTE: This command simply changes ' + 'the state of the Snapshot in the DataBase with no regard ' + 'to actual status, exercise caution when using. ' + 'Default=available.')) @utils.service_type('volumev2') def do_snapshot_reset_state(cs, args): """Explicitly updates the snapshot state."""