summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/subnet.rst
diff options
context:
space:
mode:
authorKevin_Zheng <zhengzhenyu@huawei.com>2016-12-20 09:26:15 +0800
committerKevin_Zheng <zhengzhenyu@huawei.com>2016-12-20 09:26:15 +0800
commit446e6f2fa8a14efd49b42e09c13a45e9e1eec22c (patch)
tree97ec685e27a5c50d3be6417b230af0d2a576d1b7 /doc/source/command-objects/subnet.rst
parente51a2b3b171f3c72a715bee3ad99c0f88efa3010 (diff)
downloadpython-openstackclient-446e6f2fa8a14efd49b42e09c13a45e9e1eec22c.tar.gz
change os in command example to openstack(3)
In the current doc, the command examples are like "os server create" but the acutal command should be started with "openstack" instead of "os", it is misleading to first time users. Change-Id: Ie67c0152d8ff8b7c456f91dc8b9a9164437ee9d1
Diffstat (limited to 'doc/source/command-objects/subnet.rst')
-rw-r--r--doc/source/command-objects/subnet.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/source/command-objects/subnet.rst b/doc/source/command-objects/subnet.rst
index 61526192..fb28793e 100644
--- a/doc/source/command-objects/subnet.rst
+++ b/doc/source/command-objects/subnet.rst
@@ -16,7 +16,7 @@ Create new subnet
.. program:: subnet create
.. code:: bash
- os subnet create
+ openstack subnet create
[--project <project> [--project-domain <project-domain>]]
[--subnet-pool <subnet-pool> | --use-default-subnet-pool [--prefix-length <prefix-length>]]
[--subnet-range <subnet-range>]
@@ -142,7 +142,7 @@ Delete subnet(s)
.. program:: subnet delete
.. code:: bash
- os subnet delete
+ openstack subnet delete
<subnet> [<subnet> ...]
.. _subnet_delete-subnet:
@@ -158,7 +158,7 @@ List subnets
.. program:: subnet list
.. code:: bash
- os subnet list
+ openstack subnet list
[--long]
[--ip-version {4,6}]
[--dhcp | --no-dhcp]
@@ -226,7 +226,7 @@ Set subnet properties
.. program:: subnet set
.. code:: bash
- os subnet set
+ openstack subnet set
[--allocation-pool start=<ip-address>,end=<ip-address>]
[--no-allocation-pool]
[--dhcp | --no-dhcp]
@@ -319,7 +319,7 @@ Display subnet details
.. program:: subnet show
.. code:: bash
- os subnet show
+ openstack subnet show
<subnet>
.. _subnet_show-subnet:
@@ -335,7 +335,7 @@ Unset subnet properties
.. program:: subnet unset
.. code:: bash
- os subnet unset
+ openstack subnet unset
[--allocation-pool start=<ip-address>,end=<ip-address> [...]]
[--dns-nameserver <dns-nameserver> [...]]
[--host-route destination=<subnet>,gateway=<ip-address> [...]]