From f802c1aa661287e99eb692e4cbbe65cd0c363fa1 Mon Sep 17 00:00:00 2001
From: ulif <uli@gnufix.de>
Date: Mon, 22 Jun 2015 00:04:42 +0200
Subject: [PATCH] Output random sources in help ordered.

---
 diceware/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diceware/__init__.py b/diceware/__init__.py
index 91975cb..c3fefa1 100644
--- a/diceware/__init__.py
+++ b/diceware/__init__.py
@@ -109,7 +109,7 @@ def handle_options(args):
         metavar="SOURCE",
         help=(
             "Get randomness from this source. Possible values: `%s'. "
-            "Default: system" % "', `".join(random_sources)))
+            "Default: system" % "', `".join(sorted(random_sources))))
     parser.add_argument(
         'infile', nargs='?', metavar='INFILE', default=None,
         type=argparse.FileType('r'),
-- 
GitLab