summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorSteve Martinelli <s.martinelli@gmail.com>2016-11-09 16:01:33 -0500
committerJaspreet Singh Rawel <jaspreetsinghrawel@gmail.com>2016-11-23 22:52:33 +0530
commitf15352f8613d73b003abc5fe4da9ff23229895c8 (patch)
tree500b22f69643af4f2edee7c17fc73e3ba0cd0924 /doc/source/command-objects
parent3a7bb859a67ed82b30be23f626e271da85970590 (diff)
downloadpython-openstackclient-f15352f8613d73b003abc5fe4da9ff23229895c8.tar.gz
clean up image choices and help text
Use choices for image set and image create commands, this aligns with our use of choices in networking commands. Also update the help text to match that of the networking commands, where we iterate through the options. Related-Bug: 1635518 Change-Id: Ib4c66b06e07f1d4e5bfe1b74053f2215cccad890
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/image.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/source/command-objects/image.rst b/doc/source/command-objects/image.rst
index 842eab8d..5184f446 100644
--- a/doc/source/command-objects/image.rst
+++ b/doc/source/command-objects/image.rst
@@ -78,7 +78,8 @@ Create/upload an image
.. option:: --disk-format <disk-format>
- Image disk format (default: raw)
+ Image disk format. The supported options are: ami, ari, aki, vhd, vmdk,
+ raw, qcow2, vhdx, vdi, and iso. The default format is: raw
.. option:: --size <size>
@@ -337,7 +338,8 @@ Set image properties
.. option:: --disk-format <disk-format>
- Image disk format (default: raw)
+ Image disk format. The supported options are: ami, ari, aki, vhd, vmdk,
+ raw, qcow2, vhdx, vdi, and iso.
.. option:: --size <size>