summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Naehring <naehring@b1-systems.de>2012-11-14 15:37:31 +0100
committerAndre Naehring <naehring@b1-systems.de>2012-11-14 15:37:31 +0100
commit00eff28f28f57fa3f786629dbf20c19b558188ef (patch)
tree8e4c47cbf8634b0e90832040d1bb4d470aa83551
parent16aafa728e4b8309b16bcc120b10bc20372883f4 (diff)
downloadpython-glanceclient-00eff28f28f57fa3f786629dbf20c19b558188ef.tar.gz
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
-rw-r--r--glanceclient/v1/shell.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/glanceclient/v1/shell.py b/glanceclient/v1/shell.py
index 70d4933..877d245 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='<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>',
help=('Similar to \'--location\' in usage, but this indicates that'
' the Glance server should immediately copy the data and'