+ <term><option>––input-file=<replaceable>file</replaceable></option></term>
+ <term><option>-i <replaceable>file</replaceable></option></term>
+ <indexterm><primary><option>––input-file</option></primary></indexterm>
+ <listitem>
+ <para>Read new package specifications from file
+ <replaceable>file</replaceable>. If a value of
+ <filename>"-"</filename> is given, standard input is used.
+ If no <option>-i</option> is present on the command-line,
+ an input file of <filename>"-"</filename> is assumed.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>––auto-ghci-libs</option></term>
+ <term><option>-g</option></term>
+ <indexterm><primary><option>––auto-ghci-libs</option></primary>
+ </indexterm>
+ <listitem>
+ <para>Automatically generate the GHCi
+ <filename>.o</filename> version of each
+ <filename>.a</filename> Haskell library, using GNU ld (if
+ that is available). Without this option,
+ <literal>ghc-pkg</literal> will warn if GHCi versions of
+ any Haskell libraries in the package don't exist.</para>
+
+ <para>GHCi <literal>.o</literal> libraries don't
+ necessarily have to live in the same directory as the
+ corresponding <literal>.a</literal> library. However,
+ this option will cause the GHCi library to be created in
+ the same directory as the <literal>.a</literal>
+ library.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>––config-file <replaceable>file</replaceable></option></term>
+ <term><option>-f <replaceable>file</replaceable></option></term>
+ <indexterm><primary><option>––config-file</option></primary>
+ </indexterm>
+ <listitem>
+ <para>Use <replaceable>file</replaceable> instead of the
+ default package configuration file. This, in conjunction
+ with GHC's <option>-package-conf</option> option, allows
+ a user to have a local set of packages in addition to the
+ system-wide installed set.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>––list-packages</option></term>
+ <term><option>-l</option></term>
+ <indexterm><primary><option>––list-packages</option></primary></indexterm>
+ <listitem>
+ <para>This option displays the list of currently installed
+ packages.</para>
+
+<screen>
+ $ ghc-pkg ––list-packages
+ gmp, rts, std, lang, concurrent, data, net, posix, text, util
+</screen>
+
+ <para>Note that your GHC installation might have a
+ slightly different set of packages installed.</para>
+
+ <para>The <literal>gmp</literal> and
+ <literal>rts</literal> packages are always present, and
+ represent the multi-precision integer and runtime system
+ libraries respectively. The <literal>std</literal>
+ package contains the Haskell prelude and standard
+ libraries. The rest of the packages are optional
+ libraries.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>––remove-package <replaceable>foo</replaceable></option></term>
+ <term><option>-r <replaceable>foo</replaceable></option></term>
+ <indexterm><primary><option>––delete-package</option></primary>
+ </indexterm>