Fix typo in 'help' in python-glanceclient

Fix typo `glance --os-image-api-version 1 helpNone` in help
in python-glanceclient.

Change-Id: I21bd7a7a5809e7c5fca4c8df1275321a9014bc6f
Closes-bug: #1506049
This commit is contained in:
Darja Shakhray 2015-10-14 16:17:35 +03:00
parent eab2a9da93
commit 8b4f07767b
1 changed files with 2 additions and 3 deletions

View File

@ -728,9 +728,8 @@ class OpenStackImagesShell(object):
parser.print_help()
if not args.os_image_api_version or args.os_image_api_version == '2':
print()
print(("Run `glance --os-image-api-version 1 help%s` "
"for v1 help") % command)
print(("\nRun `glance --os-image-api-version 1 help%s`"
" for v1 help") % (command or ''))
def do_bash_completion(self, _args):
"""Prints arguments for bash_completion.