[project @ 2005-02-14 10:33:58 by simonmar]
authorsimonmar <unknown>
Mon, 14 Feb 2005 10:33:58 +0000 (10:33 +0000)
committersimonmar <unknown>
Mon, 14 Feb 2005 10:33:58 +0000 (10:33 +0000)
Fix help text for ghc-pkg list to match the implementation (it was
easier to do this than fix the implementation, and in fact this is
more consistent).

ghc/utils/ghc-pkg/Main.hs

index c0bc72b..9e67cf0 100644 (file)
@@ -147,8 +147,8 @@ usageHeader prog = substProg prog $
   "    Hide the specified package.\n" ++
   "\n" ++
   "  $p list\n" ++
-  "    List all registered packages, both global and user (unless either\n" ++
-  "    --global or --user is specified), and both hidden and exposed.\n" ++
+  "    List registered packages in the global database, and also the" ++
+  "    user database if --user is given.\n" ++
   "\n" ++
   "  $p describe {pkg-id}\n" ++
   "    Give the registered description for the specified package. The\n" ++