From: Mark Wooding Date: Thu, 28 May 2015 09:57:28 +0000 (+0100) Subject: pwsafe: Present the list of commands in alphabetical order. X-Git-Tag: 1.1.0~21 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb-python/commitdiff_plain/05a8254234de3a315ed1ec33c26b56826678834d?ds=inline pwsafe: Present the list of commands in alphabetical order. Previously they were in whatever dictionary order. Hopeless. --- diff --git a/pwsafe b/pwsafe index 043db43..45086ad 100644 --- 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.