Sort cinder-manage commands
This sorts the subcommands of cinder-manage in the help text rather than having them appear in a random order. Change-Id: I6904e3c5ff70f928f1ecd5c7a2c325f07e707d8a
This commit is contained in:
parent
672e02d3f7
commit
8f3c431945
@ -725,7 +725,7 @@ def methods_of(obj):
|
|||||||
|
|
||||||
|
|
||||||
def add_command_parsers(subparsers):
|
def add_command_parsers(subparsers):
|
||||||
for category in CATEGORIES:
|
for category in sorted(CATEGORIES):
|
||||||
command_object = CATEGORIES[category]()
|
command_object = CATEGORIES[category]()
|
||||||
|
|
||||||
parser = subparsers.add_parser(category)
|
parser = subparsers.add_parser(category)
|
||||||
|
Loading…
Reference in New Issue
Block a user