Fix help message for reset-state commands

Fixed help messages for reset-state and snapshot-reset-state
commands for v1 as well as v2 api.

Change-Id: I06ca6e33f4e4b486ed29f258325550b89f6dc930
Closes-Bug: 1489285
This commit is contained in:
Rajesh Tailor
2015-08-05 05:26:59 -07:00
parent 1d71a6d138
commit dc6e82328f
2 changed files with 8 additions and 8 deletions

View File

@@ -347,8 +347,8 @@ def do_force_delete(cs, args):
'Separate multiple volumes with a space.')
@utils.arg('--state', metavar='<state>', default='available',
help=('The state to assign to the volume. Valid values are '
'"available," "error," "creating," "deleting," "in-use," '
'"attaching," "detaching" and "error_deleting." '
'"available", "error", "creating", "deleting", "in-use", '
'"attaching", "detaching" 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.'))
@@ -559,8 +559,8 @@ def do_snapshot_rename(cs, args):
help='Name or ID of snapshot to modify.')
@utils.arg('--state', metavar='<state>', default='available',
help=('The state to assign to the snapshot. Valid values are '
'"available," "error," "creating," "deleting," and '
'"error_deleting." NOTE: This command simply changes '
'"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.'))

View File

@@ -451,8 +451,8 @@ def do_force_delete(cs, args):
help='Name or ID of volume to modify.')
@utils.arg('--state', metavar='<state>', default='available',
help=('The state to assign to the volume. Valid values are '
'"available," "error," "creating," "deleting," "in-use," '
'"attaching," "detaching" and "error_deleting." '
'"available", "error", "creating", "deleting", "in-use", '
'"attaching", "detaching" 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.'))
@@ -741,8 +741,8 @@ def do_snapshot_rename(cs, args):
@utils.arg('--state', metavar='<state>',
default='available',
help=('The state to assign to the snapshot. Valid values are '
'"available," "error," "creating," "deleting," and '
'"error_deleting." NOTE: This command simply changes '
'"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.'))