Enhance --checksum help with algorithm

Fixes bug 1056499.

Added a line to the help text of --checksum which enhances the help text
to show what checksum algorithm is expected.

Change-Id: Ie6604022dd9f398c639afe647b2d94b5179dbb61
This commit is contained in:
Andre Naehring
2012-11-14 15:37:31 +01:00
parent 16aafa728e
commit 00eff28f28

View File

@@ -149,7 +149,8 @@ def do_image_download(gc, args):
' creation. Alternatively, images can be passed to the client' ' creation. Alternatively, images can be passed to the client'
' via stdin.')) ' via stdin.'))
@utils.arg('--checksum', metavar='<CHECKSUM>', @utils.arg('--checksum', metavar='<CHECKSUM>',
help='Hash of image data used Glance can use for verification.') help=('Hash of image data used Glance can use for verification.'
' Provide a md5 checksum here.'))
@utils.arg('--copy-from', metavar='<IMAGE_URL>', @utils.arg('--copy-from', metavar='<IMAGE_URL>',
help=('Similar to \'--location\' in usage, but this indicates that' help=('Similar to \'--location\' in usage, but this indicates that'
' the Glance server should immediately copy the data and' ' the Glance server should immediately copy the data and'