From cc4d00efa61f644e870f03078cb9ad23e3513453 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Thu, 29 May 2014 12:48:24 +0100 Subject: [PATCH] raco pkg catalog-show: improve output format Separate packages with a blank line, and fix formatting of a module list. --- racket/collects/pkg/lib.rkt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/racket/collects/pkg/lib.rkt b/racket/collects/pkg/lib.rkt index f9a1587dd5..3537b944ea 100644 --- a/racket/collects/pkg/lib.rkt +++ b/racket/collects/pkg/lib.rkt @@ -2894,12 +2894,14 @@ (define all-details (and all? (get-all-pkg-details-from-catalogs))) (for ([name (in-list (if all? - (hash-keys all-details) - names))]) + (sort (hash-keys all-details) string . 72) (begin - (newline) + (printf "\n ") 0) col)) (display mod-str)