summaryrefslogtreecommitdiff
path: root/openstackclient/network/v2/router.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/router.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/router.py')
-rw-r--r--openstackclient/network/v2/router.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/openstackclient/network/v2/router.py b/openstackclient/network/v2/router.py
index 6a78be6c..2ededae8 100644
--- a/openstackclient/network/v2/router.py
+++ b/openstackclient/network/v2/router.py
@@ -179,7 +179,7 @@ class CreateRouter(command.ShowOne):
dest='availability_zone_hints',
help='Availability Zone in which to create this router '
'(requires the Router Availability Zone extension, '
- 'this option can be repeated).',
+ 'repeat option to set multiple availability zones)',
)
identity_common.add_project_domain_option_to_parser(parser)
@@ -368,10 +368,10 @@ class SetRouter(command.Command):
dest='routes',
default=None,
required_keys=['destination', 'gateway'],
- help="Routes associated with the router. "
- "Repeat this option to set multiple routes. "
- "destination: destination subnet (in CIDR notation). "
- "gateway: nexthop IP address.",
+ help="Routes associated with the router "
+ "destination: destination subnet (in CIDR notation) "
+ "gateway: nexthop IP address "
+ "(repeat option to set multiple routes)",
)
routes_group.add_argument(
'--clear-routes',