From 42cff388349186b70559650237d2667da1cb903f Mon Sep 17 00:00:00 2001 From: zhiyuan_cai Date: Wed, 21 Jan 2015 17:19:46 +0800 Subject: 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 --- doc/source/command-objects/image.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/source/command-objects') 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 ] [--long] + [--sort [:]] .. option:: --public @@ -164,6 +165,11 @@ List available images List additional fields in output +.. option:: --sort [:] + + Sort output by selected keys and directions(asc or desc) (default: asc), + multiple keys and directions can be specified separated by comma + image save ---------- -- cgit v1.2.1