X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fpackages.xml;fp=docs%2Fusers_guide%2Fpackages.xml;h=0d7a02f25106afb075763d0e36b598f9237f984a;hb=58c73734b4397ac4ee635895b0a67a36514ef383;hp=8f8f880237ba5070574d66d1d4dcd50dd2647daf;hpb=2377596a0f1992347edbaa7dcd8b431f93e196a7;p=ghc-hetmet.git diff --git a/docs/users_guide/packages.xml b/docs/users_guide/packages.xml index 8f8f880..0d7a02f 100644 --- a/docs/users_guide/packages.xml +++ b/docs/users_guide/packages.xml @@ -613,6 +613,10 @@ c:/fptools/validate/ghc/driver/package.conf.inplace: InstalledPackageInfo, the same as the input file format for ghc-pkg register. See for details. + + If the pattern matches multiple packages, the + description for each package is emitted, separated by the + string --- on a line by itself. @@ -624,6 +628,23 @@ c:/fptools/validate/ghc/driver/package.conf.inplace: them with commas + + + ghc-pkg dump + + Emit the full description of every package, in the + form of an InstalledPackageInfo. + Multiple package descriptions are separated by the + string --- on a line by itself. + + This is almost the same as ghc-pkg describe '*', except that ghc-pkg dump + is intended for use by tools that parse the results, so + for example where ghc-pkg describe '*' + will emit an error if it can't find any packages that + match the pattern, ghc-pkg dump will + simply emit nothing. + +