summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorDean Troyer <dtroyer@gmail.com>2016-03-28 14:30:07 -0500
committerDean Troyer <dtroyer@gmail.com>2016-03-28 14:33:24 -0500
commitb4402a0468ac1362f0928b37d5c7da54313c7668 (patch)
tree65f4c2ceaf20b0cca4da4a94161eae3c42d2d17b /doc/source/command-objects
parent5f55e99d464b2ca0a9f1cf879164b2cc2bb23fc5 (diff)
downloadpython-openstackclient-b4402a0468ac1362f0928b37d5c7da54313c7668.tar.gz
Docs cleanup: volume type
Clean up volume type command help, add volume type show to doc, sort command classes in v1/volume_type.py. Change-Id: I1f8e5c047d9c08f5704fc23cfb694f23d32e3caf
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/volume-type.rst27
1 files changed, 24 insertions, 3 deletions
diff --git a/doc/source/command-objects/volume-type.rst b/doc/source/command-objects/volume-type.rst
index 8a113847..69944fb9 100644
--- a/doc/source/command-objects/volume-type.rst
+++ b/doc/source/command-objects/volume-type.rst
@@ -20,7 +20,7 @@ Create new volume type
.. option:: --description <description>
- New volume type description
+ Volume type description
.. versionadded:: 2
@@ -40,9 +40,10 @@ Create new volume type
Set a property on this volume type (repeat option to set multiple properties)
+.. _volume_type_create-name:
.. describe:: <name>
- New volume type name
+ Volume type name
volume type delete
------------------
@@ -55,6 +56,7 @@ Delete volume type
os volume type delete
<volume-type>
+.. _volume_type_delete-volume-type:
.. describe:: <volume-type>
Volume type to delete (name or ID)
@@ -102,12 +104,30 @@ Set volume type properties
.. option:: --property <key=value>
- Property to add or modify for this volume type (repeat option to set multiple properties)
+ Set a property on this volume type (repeat option to set multiple properties)
+.. _volume_type_set-volume-type:
.. describe:: <volume-type>
Volume type to modify (name or ID)
+volume type show
+----------------
+
+Display volume type details
+
+
+.. program:: volume type show
+.. code:: bash
+
+ os volume type show
+ <volume-type>
+
+.. _volume_type_show-volume-type:
+.. describe:: <volume-type>
+
+ Volume type to display (name or ID)
+
volume type unset
-----------------
@@ -124,6 +144,7 @@ Unset volume type properties
Property to remove from volume type (repeat option to remove multiple properties)
+.. _volume_type_unset-volume-type:
.. describe:: <volume-type>
Volume type to modify (name or ID)