[commit: ghc] master: ghc-pkg: Add missing newlines to usage message (ddded7e)

git at git.haskell.org git at git.haskell.org
Tue Nov 21 21:49:36 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/ddded7e68dc865b3b75a43f87379c3a54e0e692c/ghc

>---------------------------------------------------------------

commit ddded7e68dc865b3b75a43f87379c3a54e0e692c
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Mon Nov 20 17:13:16 2017 -0500

    ghc-pkg: Add missing newlines to usage message


>---------------------------------------------------------------

ddded7e68dc865b3b75a43f87379c3a54e0e692c
 utils/ghc-pkg/Main.hs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/utils/ghc-pkg/Main.hs b/utils/ghc-pkg/Main.hs
index 9a2c99a..0e793b4 100644
--- a/utils/ghc-pkg/Main.hs
+++ b/utils/ghc-pkg/Main.hs
@@ -271,8 +271,8 @@ usageHeader prog = substProg prog $
   "\n" ++
   "  $p dot\n" ++
   "    Generate a graph of the package dependencies in a form suitable\n" ++
-  "    for input for the graphviz tools.  For example, to generate a PDF" ++
-  "    of the dependency graph: ghc-pkg dot | tred | dot -Tpdf >pkgs.pdf" ++
+  "    for input for the graphviz tools.  For example, to generate a PDF\n" ++
+  "    of the dependency graph: ghc-pkg dot | tred | dot -Tpdf >pkgs.pdf\n" ++
   "\n" ++
   "  $p find-module {module}\n" ++
   "    List registered packages exposing module {module} in the global\n" ++



More information about the ghc-commits mailing list