diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-04-11 13:17:12 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-04-11 13:17:12 +0000 |
| commit | cba37d0031696a908df5229e6fc39b3a08aa47f4 (patch) | |
| tree | 374b9b076cacc9ee6e625a8dc8511378dcd14970 /openstackclient/network | |
| parent | cb8f757779ded16b769bce2c990650662dfa5223 (diff) | |
| parent | 6b76860c451251fd3c95e1e0e1af12c560bf4043 (diff) | |
| download | python-openstackclient-cba37d0031696a908df5229e6fc39b3a08aa47f4.tar.gz | |
Merge "Doc: Fix network command documentation issues"
Diffstat (limited to 'openstackclient/network')
| -rw-r--r-- | openstackclient/network/v2/subnet.py | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/openstackclient/network/v2/subnet.py b/openstackclient/network/v2/subnet.py index 10e5859a..eb96bb1f 100644 --- a/openstackclient/network/v2/subnet.py +++ b/openstackclient/network/v2/subnet.py @@ -197,7 +197,7 @@ class CreateSubnet(command.ShowOne): parser.add_argument( '--prefix-length', metavar='<prefix-length>', - help='Prefix length for subnet allocation from subnetpool', + help='Prefix length for subnet allocation from subnet pool', ) parser.add_argument( '--subnet-range', @@ -223,12 +223,11 @@ class CreateSubnet(command.ShowOne): metavar='<gateway>', default='auto', help="Specify a gateway for the subnet. The three options are: " - " <ip-address>: Specific IP address to use as the gateway " - " 'auto': Gateway address should automatically be " - " chosen from within the subnet itself " - " 'none': This subnet will not use a gateway " - "e.g.: --gateway 192.168.9.1, --gateway auto, --gateway none" - "(default is 'auto')", + "<ip-address>: Specific IP address to use as the gateway, " + "'auto': Gateway address should automatically be chosen from " + "within the subnet itself, 'none': This subnet will not use " + "a gateway, e.g.: --gateway 192.168.9.1, --gateway auto, " + "--gateway none (default is 'auto')", ) parser.add_argument( '--ip-version', @@ -351,8 +350,8 @@ class SetSubnet(command.Command): '--gateway', metavar='<gateway>', help="Specify a gateway for the subnet. The options are: " - " <ip-address>: Specific IP address to use as the gateway " - " 'none': This subnet will not use a gateway " + "<ip-address>: Specific IP address to use as the gateway, " + "'none': This subnet will not use a gateway, " "e.g.: --gateway 192.168.9.1, --gateway none" ) _get_common_parse_arguments(parser) |
