Sort commands alphabetically in "guix --help".

* guix/ui.scm (show-guix-help): Sort commands.
This commit is contained in:
Ludovic Courtès 2013-05-14 13:37:53 +02:00
parent 2b8cf44fd9
commit b30b13dc3d

View file

@ -420,7 +420,7 @@ (define (show-guix-help)
(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