Skip to content

Commit af3bc66

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Improve help text of volume create command"
2 parents fdc5124 + e268778 commit af3bc66

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

cinderclient/v3/shell.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,10 @@ def do_reset_state(cs, args):
649649
@utils.arg('--volume-type',
650650
metavar='<volume-type>',
651651
default=None,
652-
help='Volume type. Default=None.')
652+
help='Volume type. Default=None, that is, use the default '
653+
'volume type configured for the Block Storage API. You '
654+
"can see what type this is by using the 'cinder type-default'"
655+
' command.')
653656
@utils.arg('--volume_type',
654657
help=argparse.SUPPRESS)
655658
@utils.arg('--availability-zone',

cinderclient/v3/shell_base.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,13 @@ def do_type_list(cs, args):
693693

694694

695695
def do_type_default(cs, args):
696-
"""List the default volume type."""
696+
"""List the default volume type.
697+
698+
The Block Storage service allows configuration of a default
699+
type for each project, as well as the system default, so use
700+
this command to determine what your effective default volume
701+
type is.
702+
"""
697703
vtype = cs.volume_types.default()
698704
shell_utils.print_volume_type_list([vtype])
699705

0 commit comments

Comments
 (0)