summaryrefslogtreecommitdiff
path: root/openstackclient/network/v2/subnet.py
diff options
context:
space:
mode:
authorTang Chen <chen.tang@easystack.cn>2016-04-12 15:57:17 +0800
committerTang Chen <chen.tang@easystack.cn>2016-04-12 15:57:17 +0800
commit32c627eaf0481eb593388d2d76abffcf2b721136 (patch)
tree99ed0b11fad33b88212e94ac73e7c6d4d1e0c37b /openstackclient/network/v2/subnet.py
parent3be49a8abe9fc77cd2ab257ecf180d527c06cbce (diff)
downloadpython-openstackclient-32c627eaf0481eb593388d2d76abffcf2b721136.tar.gz
Doc: Unify repeatable option comments
There are lots of "this option can be repeated" comments in the doc, which are not consistent to other similar docs. This patch changes them to the following format: "repeat option to do something" Change-Id: I54e01053091c428bf87bb36bb95f73a0b80ab6e7
Diffstat (limited to 'openstackclient/network/v2/subnet.py')
-rw-r--r--openstackclient/network/v2/subnet.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/openstackclient/network/v2/subnet.py b/openstackclient/network/v2/subnet.py
index eb96bb1f..8fdb4459 100644
--- a/openstackclient/network/v2/subnet.py
+++ b/openstackclient/network/v2/subnet.py
@@ -52,15 +52,15 @@ def _get_common_parse_arguments(parser):
required_keys=['start', 'end'],
help='Allocation pool IP addresses for this subnet '
'e.g.: start=192.168.199.2,end=192.168.199.254 '
- '(This option can be repeated)',
+ '(repeat option to add multiple IP addresses)',
)
parser.add_argument(
'--dns-nameserver',
metavar='<dns-nameserver>',
action='append',
dest='dns_nameservers',
- help='DNS name server for this subnet '
- '(This option can be repeated)',
+ help='DNS server for this subnet '
+ '(repeat option to set multiple DNS servers)',
)
parser.add_argument(
'--host-route',
@@ -72,7 +72,7 @@ def _get_common_parse_arguments(parser):
'e.g.: destination=10.10.0.0/16,gateway=192.168.71.254 '
'destination: destination subnet (in CIDR notation) '
'gateway: nexthop IP address '
- '(This option can be repeated)',
+ '(repeat option to add multiple routes)',
)