Merge "Point out valid sort keys in openstack cluster member list
"
This commit is contained in:
commit
c394c5ed98
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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user