From 29b0aa543ca33d3236e77e18d56aa5f11c254682 Mon Sep 17 00:00:00 2001 From: Amey Bhide Date: Mon, 18 May 2015 23:40:36 -0700 Subject: [PATCH] Make metavar's consistent metavar's in help message have usage of - and _ for separators. Make it consistent using - separator Closes-Bug: #1409020 Change-Id: I9968d2932f18519e8d69195fc3d5062d6700f4c5 --- magnumclient/v1/shell.py | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/magnumclient/v1/shell.py b/magnumclient/v1/shell.py index fdc3fbd1..7fc90fa7 100644 --- a/magnumclient/v1/shell.py +++ b/magnumclient/v1/shell.py @@ -73,10 +73,10 @@ def do_bay_list(cs, args): metavar='', help='ID or name of the baymodel.') @utils.arg('--node-count', - metavar='', + metavar='', help='The bay node count.') @utils.arg('--discovery-url', - metavar='', + metavar='', help='Specifies custom discovery url for node discovery.') @utils.arg('--timeout', metavar='', @@ -146,16 +146,16 @@ def do_bay_update(cs, args): help='Name of the bay to create.') @utils.arg('--image-id', required=True, - metavar='', + metavar='', help='The name or UUID of the base image to customize for the bay.') @utils.arg('--keypair-id', required=True, - metavar='', + metavar='', help='The name or UUID of the SSH keypair to load into the' ' Bay nodes.') @utils.arg('--external-network-id', required=True, - metavar='', + metavar='', help='The external Neutron network ID to connect to this bay' ' model.') @utils.arg('--coe', @@ -163,26 +163,26 @@ def do_bay_update(cs, args): metavar='', help='Specify the Container Orchestration Engine to use.') @utils.arg('--fixed-network', - metavar='', + metavar='', help='The private Neutron network name to connect to this bay' ' model.') @utils.arg('--ssh-authorized-key', - metavar='', + metavar='', help='The SSH authorized key to use') @utils.arg('--dns-nameserver', - metavar='', + metavar='', default='8.8.8.8', help='The DNS nameserver to use for this Bay.') @utils.arg('--flavor-id', - metavar='', + metavar='', default='m1.medium', help='The nova flavor id to use when launching the bay.') @utils.arg('--master-flavor-id', - metavar='', + metavar='', help='The nova flavor id to use when launching the master node' 'of the bay.') @utils.arg('--docker-volume-size', - metavar='', + metavar='', help='Specify the size of the docker volume to use.') def do_baymodel_create(cs, args): """Create a baymodel.""" @@ -246,7 +246,7 @@ def do_node_list(cs, args): metavar='', help='Type of node to create (virt or bare).') @utils.arg('--image-id', - metavar='', + metavar='', help='The name or UUID of the base image to use for the node.') def do_node_create(cs, args): """Create a node.""" @@ -267,7 +267,7 @@ def do_pod_list(cs, args): @utils.arg('--manifest-url', - metavar='', + metavar='', help='Name/URL of the pod file to use for creating PODs.') @utils.arg('--manifest', metavar='', @@ -297,7 +297,7 @@ def do_pod_create(cs, args): pass -@utils.arg('pod', metavar='', help="UUID or name of pod") +@utils.arg('pod', metavar='', help="UUID or name of pod") @utils.arg( 'op', metavar='', @@ -356,7 +356,7 @@ def do_rc_list(cs, args): @utils.arg('--manifest-url', - metavar='', + metavar='', help='Name/URL of the replication controller file to use for ' 'creating replication controllers.') @utils.arg('--manifest', @@ -447,7 +447,7 @@ def do_service_list(cs, args): @utils.arg('--manifest-url', - metavar='', + metavar='', help='Name/URL of the serivce file to use for creating services.') @utils.arg('--manifest', metavar='',