Merge "Change container create image help message"
This commit is contained in:
commit
13e1918025
@ -51,7 +51,7 @@ class CreateContainer(command.ShowOne):
|
||||
parser.add_argument(
|
||||
'image',
|
||||
metavar='<image>',
|
||||
help='name or ID of the image')
|
||||
help='name or ID or repo of the image (e.g. cirros:latest)')
|
||||
parser.add_argument(
|
||||
'--cpu',
|
||||
metavar='<cpu>',
|
||||
|
@ -82,7 +82,8 @@ def _show_container(container):
|
||||
'already exist on the node. '
|
||||
'"always": Always pull the image from repository.'
|
||||
'"never": never pull the image')
|
||||
@utils.arg('image', metavar='<image>', help='name or ID of the image')
|
||||
@utils.arg('image', metavar='<image>', help='name or ID or repo of the image '
|
||||
'(e.g. cirros:latest)')
|
||||
@utils.arg('-i', '--interactive',
|
||||
dest='interactive',
|
||||
action='store_true',
|
||||
|
Loading…
x
Reference in New Issue
Block a user