Merge "Add period in help message"
This commit is contained in:
@@ -225,7 +225,7 @@ class OpenStackImagesShell(object):
|
|||||||
|
|
||||||
parser.add_argument('-v', '--verbose',
|
parser.add_argument('-v', '--verbose',
|
||||||
default=False, action="store_true",
|
default=False, action="store_true",
|
||||||
help="Print more verbose output")
|
help="Print more verbose output.")
|
||||||
|
|
||||||
parser.add_argument('--get-schema',
|
parser.add_argument('--get-schema',
|
||||||
default=False, action="store_true",
|
default=False, action="store_true",
|
||||||
@@ -236,7 +236,7 @@ class OpenStackImagesShell(object):
|
|||||||
|
|
||||||
parser.add_argument('--timeout',
|
parser.add_argument('--timeout',
|
||||||
default=600,
|
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',
|
parser.add_argument('--no-ssl-compression',
|
||||||
dest='ssl_compression',
|
dest='ssl_compression',
|
||||||
|
@@ -410,7 +410,7 @@ def do_member_list(gc, args):
|
|||||||
@utils.arg('image', metavar='<IMAGE>',
|
@utils.arg('image', metavar='<IMAGE>',
|
||||||
help='Image to add member to.')
|
help='Image to add member to.')
|
||||||
@utils.arg('tenant_id', metavar='<TENANT_ID>',
|
@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,
|
@utils.arg('--can-share', action='store_true', default=False,
|
||||||
help='Allow the specified tenant to share this image.')
|
help='Allow the specified tenant to share this image.')
|
||||||
def do_member_create(gc, args):
|
def do_member_create(gc, args):
|
||||||
|
@@ -353,7 +353,7 @@ def do_image_tag_delete(gc, args):
|
|||||||
help='URL of location to add.')
|
help='URL of location to add.')
|
||||||
@utils.arg('--metadata', metavar='<STRING>', default='{}',
|
@utils.arg('--metadata', metavar='<STRING>', default='{}',
|
||||||
help=('Metadata associated with the location. '
|
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>',
|
@utils.arg('id', metavar='<ID>',
|
||||||
help='ID of image to which the location is to be added.')
|
help='ID of image to which the location is to be added.')
|
||||||
def do_location_add(gc, args):
|
def do_location_add(gc, args):
|
||||||
@@ -380,7 +380,7 @@ def do_location_delete(gc, args):
|
|||||||
help='URL of location to update.')
|
help='URL of location to update.')
|
||||||
@utils.arg('--metadata', metavar='<STRING>', default='{}',
|
@utils.arg('--metadata', metavar='<STRING>', default='{}',
|
||||||
help=('Metadata associated with the location. '
|
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>',
|
@utils.arg('id', metavar='<ID>',
|
||||||
help='ID of image whose location is to be updated.')
|
help='ID of image whose location is to be updated.')
|
||||||
def do_location_update(gc, args):
|
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'
|
help='Type of Task. Please refer to Glance schema or documentation'
|
||||||
' to see which tasks are supported.')
|
' to see which tasks are supported.')
|
||||||
@utils.arg('--input', metavar='<STRING>', default='{}',
|
@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):
|
def do_task_create(gc, args):
|
||||||
"""Create a new task."""
|
"""Create a new task."""
|
||||||
if not (args.type and args.input):
|
if not (args.type and args.input):
|
||||||
|
Reference in New Issue
Block a user