diff options
| author | Tang Chen <chen.tang@easystack.cn> | 2016-04-12 15:57:17 +0800 |
|---|---|---|
| committer | Tang Chen <chen.tang@easystack.cn> | 2016-04-12 15:57:17 +0800 |
| commit | 32c627eaf0481eb593388d2d76abffcf2b721136 (patch) | |
| tree | 99ed0b11fad33b88212e94ac73e7c6d4d1e0c37b /openstackclient/network/v2/port.py | |
| parent | 3be49a8abe9fc77cd2ab257ecf180d527c06cbce (diff) | |
| download | python-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/port.py')
| -rw-r--r-- | openstackclient/network/v2/port.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openstackclient/network/v2/port.py b/openstackclient/network/v2/port.py index a9e80428..820f2ac2 100644 --- a/openstackclient/network/v2/port.py +++ b/openstackclient/network/v2/port.py @@ -210,13 +210,13 @@ class CreatePort(command.ShowOne): optional_keys=['subnet', 'ip-address'], help='Desired IP and/or subnet (name or ID) for this port: ' 'subnet=<subnet>,ip-address=<ip-address> ' - '(this option can be repeated)') + '(repeat option to set multiple fixed IP addresses)') parser.add_argument( '--binding-profile', metavar='<binding-profile>', action=parseractions.KeyValueAction, help='Custom data to be passed as binding:profile: <key>=<value> ' - '(this option can be repeated)') + '(repeat option to set multiple binding:profile data)') admin_group = parser.add_mutually_exclusive_group() admin_group.add_argument( '--enable', @@ -360,7 +360,7 @@ class SetPort(command.Command): optional_keys=['subnet', 'ip-address'], help='Desired IP and/or subnet (name or ID) for this port: ' 'subnet=<subnet>,ip-address=<ip-address> ' - '(this option can be repeated)') + '(repeat option to set multiple fixed IP addresses)') fixed_ip.add_argument( '--no-fixed-ip', action='store_true', @@ -371,7 +371,7 @@ class SetPort(command.Command): metavar='<binding-profile>', action=parseractions.KeyValueAction, help='Custom data to be passed as binding:profile: <key>=<value> ' - '(this option can be repeated)') + '(repeat option to set multiple binding:profile data)') binding_profile.add_argument( '--no-binding-profile', action='store_true', |
