Merge "Sort resource-type-list output"
This commit is contained in:
commit
b6f81d5124
@ -319,7 +319,7 @@ def do_resource_type_list(hc, args={}):
|
||||
'''List the available resource types.'''
|
||||
kwargs = {}
|
||||
types = hc.resource_types.list(**kwargs)
|
||||
utils.print_list(types, ['resource_type'])
|
||||
utils.print_list(types, ['resource_type'], sortby=0)
|
||||
|
||||
|
||||
@utils.arg('resource_type', metavar='<RESOURCE_TYPE>',
|
||||
|
Loading…
x
Reference in New Issue
Block a user