aboutsummaryrefslogtreecommitdiffstats
path: root/shell.py
diff options
context:
space:
mode:
authorhploetz <hploetz@f711b948-2313-0410-aaa9-d29f33439f0b>2006-05-25 13:36:25 +0000
committerhploetz <hploetz@f711b948-2313-0410-aaa9-d29f33439f0b>2006-05-25 13:36:25 +0000
commitefcd0f0cfd9ef92711d8d74ebe1f4e451dfd931d (patch)
treedd33200960e591d30527199771f7f07b402a45a3 /shell.py
parentb1f2a56881a1892b17bdd0fa53caba832c2d64ff (diff)
sorting
git-svn-id: svn+ssh://localhost/home/henryk/svn/cyberflex-shell/trunk@76 f711b948-2313-0410-aaa9-d29f33439f0b
Diffstat (limited to 'shell.py')
-rw-r--r--shell.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell.py b/shell.py
index b72408f..482c189 100644
--- a/shell.py
+++ b/shell.py
@@ -341,6 +341,7 @@ class Shell:
"Print help, either for all commands or for a specific one."
if command is None:
command_list = self.get_command_mapping().keys()
+ command_list.sort()
for command in command_list:
print self.SHORT_HELP_FORMATSTRING % self.help(command)
else: