From 2c88b1e55fb1c0e29dd55daf1fb250f14bd94342 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 4 May 2017 16:28:07 +0530 Subject: [PATCH] ... --- src/calibre/db/cli/cmd_list_categories.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/db/cli/cmd_list_categories.py b/src/calibre/db/cli/cmd_list_categories.py index 1827ca88d7..5fc526de35 100644 --- a/src/calibre/db/cli/cmd_list_categories.py +++ b/src/calibre/db/cli/cmd_list_categories.py @@ -49,7 +49,7 @@ information is the equivalent of what is shown in the tags pane. default='excel', choices=csv.list_dialects(), help=_('The type of CSV file to produce. Choices: {}') - .format(', '.join(csv.list_dialects())) + .format(', '.join(sorted(csv.list_dialects()))) ) parser.add_option( '-r',