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:
Eric Harney 2017-08-01 13:45:00 -04:00
parent 672e02d3f7
commit 8f3c431945

View File

@ -725,7 +725,7 @@ def methods_of(obj):
def add_command_parsers(subparsers):
for category in CATEGORIES:
for category in sorted(CATEGORIES):
command_object = CATEGORIES[category]()
parser = subparsers.add_parser(category)