summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorzhiyuan_cai <luckyvega.g@gmail.com>2015-01-21 17:19:46 +0800
committerzhiyuan_cai <luckyvega.g@gmail.com>2015-02-06 10:57:10 +0800
commit42cff388349186b70559650237d2667da1cb903f (patch)
tree055ea0522cbb7293dc5d941477aaaa6d9fae86fe /doc/source/command-objects
parent0cc3955f0aedab76313aa09edd3f31bb9d08b55d (diff)
downloadpython-openstackclient-42cff388349186b70559650237d2667da1cb903f.tar.gz
Add sort support to image list
Add sort support to image list by sorting items in the client side. The parameter syntax follows this spec[1]. [1] https://review.openstack.org/#/c/145544/ Change-Id: I42b487d18f00f937db1938daa46487cea2a896ab Closes-Bug: #1410251
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/image.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/source/command-objects/image.rst b/doc/source/command-objects/image.rst
index bc38429d..83036a64 100644
--- a/doc/source/command-objects/image.rst
+++ b/doc/source/command-objects/image.rst
@@ -141,6 +141,7 @@ List available images
[--public | --private | --shared]
[--property <key=value>]
[--long]
+ [--sort <key>[:<direction>]]
.. option:: --public
@@ -164,6 +165,11 @@ List available images
List additional fields in output
+.. option:: --sort <key>[:<direction>]
+
+ Sort output by selected keys and directions(asc or desc) (default: asc),
+ multiple keys and directions can be specified separated by comma
+
image save
----------