summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-05-14 13:37:53 +0200
committerLudovic Courtès <ludo@gnu.org>2013-05-14 13:37:53 +0200
commitb30b13dc3d881d734098599540aa0bb13bcf7e61 (patch)
treede7644c7c07f4b48dda3c8b47b81bd958bf3f5d9
parent2b8cf44fd9207c5e46b8fc1a000645bd3bc89baf (diff)
Sort commands alphabetically in "guix --help".
* guix/ui.scm (show-guix-help): Sort commands.
-rw-r--r--guix/ui.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/ui.scm b/guix/ui.scm
index ca0d4249ec..6d81475812 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -420,7 +420,7 @@ Run COMMAND with ARGS.\n"))
(format #t (_ "COMMAND must be one of the sub-commands listed below:\n"))
(newline)
;; TODO: Display a synopsis of each command.
- (format #t "~{ ~a~%~}" (commands))
+ (format #t "~{ ~a~%~}" (sort (commands) string<?))
(show-bug-report-information))
(define program-name