From 8f3c431945a1e6e4499d7bec3b436b01cae2845e Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Tue, 1 Aug 2017 13:45:00 -0400 Subject: [PATCH] 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 --- cinder/cmd/manage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/cmd/manage.py b/cinder/cmd/manage.py index f38f7a9291e..f4ec90ae3b1 100644 --- a/cinder/cmd/manage.py +++ b/cinder/cmd/manage.py @@ -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)