Merge "Point out valid sort keys in openstack cluster member list"

This commit is contained in:
Jenkins 2016-11-22 02:39:25 +00:00 committed by Gerrit Code Review
commit c394c5ed98
2 changed files with 7 additions and 5 deletions
senlinclient/v1

@ -607,9 +607,11 @@ class ClusterNodeList(command.Lister):
parser.add_argument(
'--sort',
metavar='<key>[:<direction>]',
help=_('Sorting option which is a string containing a list of '
'keys separated by commas. Each key can be optionally '
'appended by a sort direction (:asc or :desc)')
help=_("Sorting option which is a string containing a list of "
"keys separated by commas. Each key can be optionally "
"appended by a sort direction (:asc or :desc)' The valid "
"sort keys are:['index', 'name', 'status', 'init_at', "
"'created_at', 'updated_at']")
)
parser.add_argument(
'--limit',

@ -53,8 +53,8 @@ class ListNode(command.Lister):
help=_("Sorting option which is a string containing a list of "
"keys separated by commas. Each key can be optionally "
"appended by a sort direction (:asc or :desc). The valid "
"sort keys are:'['index', 'name', 'status', 'init_at', "
"'created_at', 'updated_at']'")
"sort keys are:['index', 'name', 'status', 'init_at', "
"'created_at', 'updated_at']")
)
parser.add_argument(
'--limit',