Merge "Add period in help message"

This commit is contained in:
Jenkins 2015-09-25 16:48:54 +00:00 committed by Gerrit Code Review
commit 6e7c64bd5b
3 changed files with 6 additions and 6 deletions

View File

@ -225,7 +225,7 @@ class OpenStackImagesShell(object):
parser.add_argument('-v', '--verbose',
default=False, action="store_true",
help="Print more verbose output")
help="Print more verbose output.")
parser.add_argument('--get-schema',
default=False, action="store_true",
@ -236,7 +236,7 @@ class OpenStackImagesShell(object):
parser.add_argument('--timeout',
default=600,
help='Number of seconds to wait for a response')
help='Number of seconds to wait for a response.')
parser.add_argument('--no-ssl-compression',
dest='ssl_compression',

View File

@ -410,7 +410,7 @@ def do_member_list(gc, args):
@utils.arg('image', metavar='<IMAGE>',
help='Image to add member to.')
@utils.arg('tenant_id', metavar='<TENANT_ID>',
help='Tenant to add as member')
help='Tenant to add as member.')
@utils.arg('--can-share', action='store_true', default=False,
help='Allow the specified tenant to share this image.')
def do_member_create(gc, args):

View File

@ -353,7 +353,7 @@ def do_image_tag_delete(gc, args):
help='URL of location to add.')
@utils.arg('--metadata', metavar='<STRING>', default='{}',
help=('Metadata associated with the location. '
'Must be a valid JSON object (default: %(default)s)'))
'Must be a valid JSON object (default: %(default)s).'))
@utils.arg('id', metavar='<ID>',
help='ID of image to which the location is to be added.')
def do_location_add(gc, args):
@ -380,7 +380,7 @@ def do_location_delete(gc, args):
help='URL of location to update.')
@utils.arg('--metadata', metavar='<STRING>', default='{}',
help=('Metadata associated with the location. '
'Must be a valid JSON object (default: %(default)s)'))
'Must be a valid JSON object (default: %(default)s).'))
@utils.arg('id', metavar='<ID>',
help='ID of image whose location is to be updated.')
def do_location_update(gc, args):
@ -940,7 +940,7 @@ def do_task_show(gc, args):
help='Type of Task. Please refer to Glance schema or documentation'
' to see which tasks are supported.')
@utils.arg('--input', metavar='<STRING>', default='{}',
help='Parameters of the task to be launched')
help='Parameters of the task to be launched.')
def do_task_create(gc, args):
"""Create a new task."""
if not (args.type and args.input):