X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fpackages.xml;h=0d7a02f25106afb075763d0e36b598f9237f984a;hb=785e4ab34b25c6f023183d6fabf5e74b27b416f9;hp=8f8f880237ba5070574d66d1d4dcd50dd2647daf;hpb=29edb8f84852f3bd5bdb1c859bc469f209262d27;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.
+
+