mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-21 12:28:44 +00:00
commands/list: Display plugins in alphabetical order
This commit is contained in:
parent
4ab75bf722
commit
0a88c32502
@ -29,9 +29,9 @@ class ListCommand(Command):
|
|||||||
kinds = get_kinds()
|
kinds = get_kinds()
|
||||||
self.parser.add_argument('kind', metavar='KIND',
|
self.parser.add_argument('kind', metavar='KIND',
|
||||||
help=('Specify the kind of plugin to list. Must be '
|
help=('Specify the kind of plugin to list. Must be '
|
||||||
'one of: {}'.format(', '.join(kinds))),
|
'one of: {}'.format(', '.join(sorted(kinds)))),
|
||||||
choices=kinds)
|
choices=sorted(kinds))
|
||||||
self.parser.add_argument('-n', '--name',
|
self.parser.add_argument('-n', '--name',
|
||||||
help='Filter results by the name specified')
|
help='Filter results by the name specified')
|
||||||
self.parser.add_argument('-o', '--packaged-only', action='store_true',
|
self.parser.add_argument('-o', '--packaged-only', action='store_true',
|
||||||
help='''
|
help='''
|
||||||
@ -39,7 +39,7 @@ class ListCommand(Command):
|
|||||||
not list plugins installed locally or from
|
not list plugins installed locally or from
|
||||||
other packages.
|
other packages.
|
||||||
''')
|
''')
|
||||||
self.parser.add_argument('-p', '--platform',
|
self.parser.add_argument('-p', '--platform',
|
||||||
help='''
|
help='''
|
||||||
Only list results that are supported by the
|
Only list results that are supported by the
|
||||||
specified platform.
|
specified platform.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user