From 00eff28f28f57fa3f786629dbf20c19b558188ef Mon Sep 17 00:00:00 2001 From: Andre Naehring Date: Wed, 14 Nov 2012 15:37:31 +0100 Subject: [PATCH] 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 --- glanceclient/v1/shell.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glanceclient/v1/shell.py b/glanceclient/v1/shell.py index 70d49338..877d2450 100644 --- a/glanceclient/v1/shell.py +++ b/glanceclient/v1/shell.py @@ -149,7 +149,8 @@ def do_image_download(gc, args): ' creation. Alternatively, images can be passed to the client' ' via stdin.')) @utils.arg('--checksum', metavar='', - 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='', help=('Similar to \'--location\' in usage, but this indicates that' ' the Glance server should immediately copy the data and'