diff options
author | whoami-rajat <rajatdhasmana@gmail.com> | 2021-11-01 11:57:44 -0400 |
---|---|---|
committer | whoami-rajat <rajatdhasmana@gmail.com> | 2021-11-08 09:46:59 -0500 |
commit | e268778d3efd449ed88de7744005b228751d2a0a (patch) | |
tree | 2c6fbe94452ca33cfc99f786c76ff147684253f0 /cinderclient/v3/shell.py | |
parent | be0b88409bc1ee6325398d2c49aa242336652beb (diff) | |
download | python-cinderclient-e268778d3efd449ed88de7744005b228751d2a0a.tar.gz |
Improve help text of volume create command
This patch adds information about whichever default type is set for
API will be used during volume creation if we don't provide a
volume type in volume create command.
This patch also improves the help text of `cinder type-default` command.
Change-Id: I0c437b2c4f02c12d17c04719cbeff8521647ae15
Diffstat (limited to 'cinderclient/v3/shell.py')
-rw-r--r-- | cinderclient/v3/shell.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cinderclient/v3/shell.py b/cinderclient/v3/shell.py index 18f94d3..27f2c7f 100644 --- a/cinderclient/v3/shell.py +++ b/cinderclient/v3/shell.py @@ -649,7 +649,10 @@ def do_reset_state(cs, args): @utils.arg('--volume-type', metavar='<volume-type>', default=None, - help='Volume type. Default=None.') + help='Volume type. Default=None, that is, use the default ' + 'volume type configured for the Block Storage API. You ' + "can see what type this is by using the 'cinder type-default'" + ' command.') @utils.arg('--volume_type', help=argparse.SUPPRESS) @utils.arg('--availability-zone', |