Skip to content

Commit

Permalink
Enhance --checksum help with algorithm
Browse files Browse the repository at this point in the history
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
  • Loading branch information
thimble committed Nov 14, 2012
1 parent 16aafa7 commit 00eff28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion glanceclient/v1/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 00eff28

Please sign in to comment.