summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2021-11-19 18:37:48 +0000
committerGerrit Code Review <review@openstack.org>2021-11-19 18:37:48 +0000
commitaf3bc66a5fe2a1ab37d537b6cfe1f5dfb5659002 (patch)
tree00f04a3764c83d92ff5443b88dbd0935094a34af
parentfdc5124bf22ac728ca7182dc98151e5f78fccf03 (diff)
parente268778d3efd449ed88de7744005b228751d2a0a (diff)
downloadpython-cinderclient-af3bc66a5fe2a1ab37d537b6cfe1f5dfb5659002.tar.gz
Merge "Improve help text of volume create command"
-rw-r--r--cinderclient/v3/shell.py5
-rw-r--r--cinderclient/v3/shell_base.py8
2 files changed, 11 insertions, 2 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',
diff --git a/cinderclient/v3/shell_base.py b/cinderclient/v3/shell_base.py
index 0fc1b5d..0dee47e 100644
--- a/cinderclient/v3/shell_base.py
+++ b/cinderclient/v3/shell_base.py
@@ -693,7 +693,13 @@ def do_type_list(cs, args):
def do_type_default(cs, args):
- """List the default volume type."""
+ """List the default volume type.
+
+ The Block Storage service allows configuration of a default
+ type for each project, as well as the system default, so use
+ this command to determine what your effective default volume
+ type is.
+ """
vtype = cs.volume_types.default()
shell_utils.print_volume_type_list([vtype])