mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 19:32:34 +01:00
commands/list: Display plugins in alphabetical order
This commit is contained in:
@@ -29,8 +29,8 @@ 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',
|
||||||
|
Reference in New Issue
Block a user