Merge "Fix help for image-create"

This commit is contained in:
Jenkins
2015-12-03 08:24:44 +00:00
committed by Gerrit Code Review

View File

@@ -53,8 +53,8 @@ def get_image_schema():
' May be used multiple times.')) ' May be used multiple times.'))
@utils.arg('--file', metavar='<FILE>', @utils.arg('--file', metavar='<FILE>',
help=_('Local file that contains disk image to be uploaded ' help=_('Local file that contains disk image to be uploaded '
'during creation. Must be present if images are not passed ' 'during creation. Alternatively, the image data can be '
'to the client via stdin.')) 'passed to the client via stdin.'))
@utils.arg('--progress', action='store_true', default=False, @utils.arg('--progress', action='store_true', default=False,
help=_('Show upload progress bar.')) help=_('Show upload progress bar.'))
@utils.on_data_require_fields(DATA_FIELDS) @utils.on_data_require_fields(DATA_FIELDS)