image-list: add checksum algorithm description

We use MD5 for checksum, add this description
in cli helps.

Change-Id: I3469b0dface63f4684ad39421eee4c2a2de4d80b
Signed-off-by: Chen Hanxiao <chenhx@certusnet.com.cn>
This commit is contained in:
Chen Hanxiao 2018-07-04 15:18:55 +08:00
parent 71abbfca2a
commit c159b5ccbc
2 changed files with 2 additions and 2 deletions

View File

@ -325,7 +325,7 @@ List images you can access.
Filter images by a user-defined image property. Filter images by a user-defined image property.
``--checksum <CHECKSUM>`` ``--checksum <CHECKSUM>``
Displays images that match the checksum. Displays images that match the MD5 checksum.
``--tag <TAG>`` ``--tag <TAG>``
Filter images by a user-defined tag. Filter images by a user-defined tag.

View File

@ -247,7 +247,7 @@ def do_image_update(gc, args):
help=_("Filter images by a user-defined image property."), help=_("Filter images by a user-defined image property."),
action='append', dest='properties', default=[]) action='append', dest='properties', default=[])
@utils.arg('--checksum', metavar='<CHECKSUM>', @utils.arg('--checksum', metavar='<CHECKSUM>',
help=_('Displays images that match the checksum.')) help=_('Displays images that match the MD5 checksum.'))
@utils.arg('--tag', metavar='<TAG>', action='append', @utils.arg('--tag', metavar='<TAG>', action='append',
help=_("Filter images by a user-defined tag.")) help=_("Filter images by a user-defined tag."))
@utils.arg('--sort-key', default=[], action='append', @utils.arg('--sort-key', default=[], action='append',