From c159b5ccbc6f4d98f94cd96ad200ac317a8269ad Mon Sep 17 00:00:00 2001 From: Chen Hanxiao Date: Wed, 4 Jul 2018 15:18:55 +0800 Subject: [PATCH] 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 --- doc/source/cli/details.rst | 2 +- glanceclient/v2/shell.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/source/cli/details.rst b/doc/source/cli/details.rst index 8b012665..f446abac 100644 --- a/doc/source/cli/details.rst +++ b/doc/source/cli/details.rst @@ -325,7 +325,7 @@ List images you can access. Filter images by a user-defined image property. ``--checksum `` - Displays images that match the checksum. + Displays images that match the MD5 checksum. ``--tag `` Filter images by a user-defined tag. diff --git a/glanceclient/v2/shell.py b/glanceclient/v2/shell.py index d837ba19..6771c96c 100644 --- a/glanceclient/v2/shell.py +++ b/glanceclient/v2/shell.py @@ -247,7 +247,7 @@ def do_image_update(gc, args): help=_("Filter images by a user-defined image property."), action='append', dest='properties', default=[]) @utils.arg('--checksum', metavar='', - help=_('Displays images that match the checksum.')) + help=_('Displays images that match the MD5 checksum.')) @utils.arg('--tag', metavar='', action='append', help=_("Filter images by a user-defined tag.")) @utils.arg('--sort-key', default=[], action='append',