From b7907803e653398522184a044b972588f7b6fb57 Mon Sep 17 00:00:00 2001 From: tengqm Date: Sun, 12 Jul 2015 03:50:34 -0400 Subject: [PATCH] Fix arg name for sort-dir The argument name for sort-dir is now unified to be '-s', because '-d' may cause confusion. Change-Id: Ief0cb229546b565d58e428e1fd35c7d4e318018d --- senlinclient/v1/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/senlinclient/v1/shell.py b/senlinclient/v1/shell.py index 07d10f57..abe05d65 100644 --- a/senlinclient/v1/shell.py +++ b/senlinclient/v1/shell.py @@ -916,7 +916,7 @@ def do_cluster_scale_in(sc, args): action='append') @utils.arg('-k', '--sort-keys', metavar='', help=_('Name of keys used for sorting the returned events.')) -@utils.arg('-d', '--sort-dir', metavar='', +@utils.arg('-s', '--sort-dir', metavar='', help=_('Direction for sorting, where DIR can be "asc" or "desc".')) @utils.arg('id', metavar='', help=_('Name or ID of cluster to query on.'))