Merge "Change container create image help message"

This commit is contained in:
Zuul 2018-05-05 03:38:42 +00:00 committed by Gerrit Code Review
commit 13e1918025
2 changed files with 3 additions and 2 deletions

View File

@ -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>',

View File

@ -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',