From: Simon Marlow Date: Mon, 30 Nov 2009 12:20:40 +0000 (+0000) Subject: document 'recache' command in the help output (#3684) X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=21e5c084e8bb5cfdd5ce241bb85356c156a88c35 document 'recache' command in the help output (#3684) --- diff --git a/utils/ghc-pkg/Main.hs b/utils/ghc-pkg/Main.hs index 92bcb77..ea18000 100644 --- a/utils/ghc-pkg/Main.hs +++ b/utils/ghc-pkg/Main.hs @@ -236,6 +236,13 @@ usageHeader prog = substProg prog $ " by tools that parse the results, rather than humans. The output is\n" ++ " always encoded in UTF-8, regardless of the current locale.\n" ++ "\n" ++ + " $p recache\n" ++ + " Regenerate the package database cache. This command should only be\n" ++ + " necessary if you added a package to the database by dropping a file\n" ++ + " into the database directory manually. By default, the global DB\n" ++ + " is recached; to recache a different DB use --user or --package-conf\n" ++ + " as appropriate.\n" ++ + "\n" ++ " Substring matching is supported for {module} in find-module and\n" ++ " for {pkg} in list, describe, and field, where a '*' indicates\n" ++ " open substring ends (prefix*, *suffix, *infix*).\n" ++