diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-05-14 13:37:53 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-05-14 13:37:53 +0200 |
commit | b30b13dc3d881d734098599540aa0bb13bcf7e61 (patch) | |
tree | de7644c7c07f4b48dda3c8b47b81bd958bf3f5d9 /guix | |
parent | 2b8cf44fd9207c5e46b8fc1a000645bd3bc89baf (diff) | |
download | gnu-guix-b30b13dc3d881d734098599540aa0bb13bcf7e61.tar gnu-guix-b30b13dc3d881d734098599540aa0bb13bcf7e61.tar.gz |
Sort commands alphabetically in "guix --help".
* guix/ui.scm (show-guix-help): Sort commands.
Diffstat (limited to 'guix')
-rw-r--r-- | guix/ui.scm | 2 |
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 |