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
This commit is contained in:
tengqm
2015-07-12 03:50:34 -04:00
parent 23ec3865a8
commit b7907803e6

View File

@@ -916,7 +916,7 @@ def do_cluster_scale_in(sc, args):
action='append')
@utils.arg('-k', '--sort-keys', metavar='<KEYS>',
help=_('Name of keys used for sorting the returned events.'))
@utils.arg('-d', '--sort-dir', metavar='<DIR>',
@utils.arg('-s', '--sort-dir', metavar='<DIR>',
help=_('Direction for sorting, where DIR can be "asc" or "desc".'))
@utils.arg('id', metavar='<CLUSTER>',
help=_('Name or ID of cluster to query on.'))