summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-09-16 15:42:06 +0000
committerGerrit Code Review <review@openstack.org>2014-09-16 15:42:06 +0000
commitede859ebf6199e29d45978eb402c7c07f0170e75 (patch)
treef92be4b5e77369e11c6860ff5cbc83e7a83e4491
parent1aedb2e4dd8854857729a067a6db32bf0b337268 (diff)
parenta844d19861c092dcb71288e15752d290c4062e0a (diff)
downloadpython-neutronclient-ede859ebf6199e29d45978eb402c7c07f0170e75.tar.gz
Merge "Improve help strings"2.3.8
-rw-r--r--neutronclient/neutron/v2_0/fw/firewallrule.py2
-rw-r--r--neutronclient/neutron/v2_0/networkprofile.py12
-rw-r--r--neutronclient/shell.py6
3 files changed, 10 insertions, 10 deletions
diff --git a/neutronclient/neutron/v2_0/fw/firewallrule.py b/neutronclient/neutron/v2_0/fw/firewallrule.py
index 88f47e9..aa4b90c 100644
--- a/neutronclient/neutron/v2_0/fw/firewallrule.py
+++ b/neutronclient/neutron/v2_0/fw/firewallrule.py
@@ -98,7 +98,7 @@ class CreateFirewallRule(neutronv20.CreateCommand):
parser.add_argument(
'--enabled',
dest='enabled', choices=['True', 'False'],
- help=_('To enable or disable this rule'),
+ help=_('Whether to enable or disable this rule.'),
default=argparse.SUPPRESS)
parser.add_argument(
'--protocol', choices=['tcp', 'udp', 'icmp', 'any'],
diff --git a/neutronclient/neutron/v2_0/networkprofile.py b/neutronclient/neutron/v2_0/networkprofile.py
index 8a6054e..def7441 100644
--- a/neutronclient/neutron/v2_0/networkprofile.py
+++ b/neutronclient/neutron/v2_0/networkprofile.py
@@ -65,8 +65,8 @@ class CreateNetworkProfile(neutronV20.CreateCommand):
help=_('Multicast IPv4 range.'))
parser.add_argument("--add-tenant",
action='append', dest='add_tenants',
- help=_("Add tenant to the network profile "
- "(This option can be repeated)."))
+ help=_("Add tenant to the network profile. "
+ "You can repeat this option."))
def args2body(self, parsed_args):
body = {'network_profile': {'name': parsed_args.name}}
@@ -106,12 +106,12 @@ class UpdateNetworkProfile(neutronV20.UpdateCommand):
def add_known_arguments(self, parser):
parser.add_argument("--remove-tenant",
action='append', dest='remove_tenants',
- help=_("Remove tenant from the network profile "
- "(This option can be repeated)"))
+ help=_("Remove tenant from the network profile. "
+ "You can repeat this option."))
parser.add_argument("--add-tenant",
action='append', dest='add_tenants',
- help=_("Add tenant to the network profile "
- "(This option can be repeated)"))
+ help=_("Add tenant to the network profile. "
+ "You can repeat this option."))
def args2body(self, parsed_args):
body = {'network_profile': {}}
diff --git a/neutronclient/shell.py b/neutronclient/shell.py
index 6ea00b3..fa73329 100644
--- a/neutronclient/shell.py
+++ b/neutronclient/shell.py
@@ -549,7 +549,7 @@ class NeutronShell(app.App):
help=_("Path of certificate file to use in SSL "
"connection. This file can optionally be "
"prepended with the private key. Defaults "
- "to env[OS_CERT]"))
+ "to env[OS_CERT]."))
parser.add_argument(
'--os-cacert',
@@ -557,7 +557,7 @@ class NeutronShell(app.App):
default=env('OS_CACERT', default=None),
help=_("Specify a CA bundle file to use in "
"verifying a TLS (https) server certificate. "
- "Defaults to env[OS_CACERT]"))
+ "Defaults to env[OS_CACERT]."))
parser.add_argument(
'--os-key',
@@ -566,7 +566,7 @@ class NeutronShell(app.App):
help=_("Path of client key to use in SSL "
"connection. This option is not necessary "
"if your key is prepended to your certificate "
- "file. Defaults to env[OS_KEY]"))
+ "file. Defaults to env[OS_KEY]."))
parser.add_argument(
'--os-password', metavar='<auth-password>',