chiark / gitweb /
pwsafe: Present the list of commands in alphabetical order.
[catacomb-python] / pwsafe
diff --git a/pwsafe b/pwsafe
index 043db433b9eb28cb17f7894140017caf170ee322..45086ad7ab2c48f1a9c89ccdb6e7f55fe52e3a10 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.