pwsafe: Present the list of commands in alphabetical order.
[catacomb-python] / pwsafe
diff --git a/pwsafe b/pwsafe
index 043db43..45086ad 100644 (file)
--- a/pwsafe
+++ b/pwsafe
@@ -236,7 +236,7 @@ Options:
 
 Commands provided:
 '''
-  for c in commands:
+  for c in sorted(commands):
     print '%s %s' % (c, commands[c][1])
 
 ## Choose a default database file.