From 4c7c7adb3fa32dbaefa623a7b4ff6659de8b383b Mon Sep 17 00:00:00 2001 From: Stuart McLaren Date: Tue, 6 Jan 2015 17:13:22 +0000 Subject: [PATCH] Fix v2 image create --file documentation Help for 'v2 image create --file' should refer to upload, not download. DocImpact Change-Id: I2ae00e3242fb10001e216cde93fdf9c6f18ad13e Closes-bug: 1408028 --- glanceclient/v2/shell.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/glanceclient/v2/shell.py b/glanceclient/v2/shell.py index 4da2d990..e6ab8bac 100644 --- a/glanceclient/v2/shell.py +++ b/glanceclient/v2/shell.py @@ -42,9 +42,8 @@ def get_image_schema(): default=[], help=('Arbitrary property to associate with image.' ' May be used multiple times.')) @utils.arg('--file', metavar='', - help='Local file to save downloaded image data to. ' - 'If this is not specified the image data will be ' - 'written to stdout.') + help='Local file that contains disk image to be uploaded ' + 'during creation.') @utils.arg('--progress', action='store_true', default=False, help='Show upload progress bar.') def do_image_create(gc, args):