[project @ 2001-12-13 01:00:28 by sof]
authorsof <unknown>
Thu, 13 Dec 2001 01:00:28 +0000 (01:00 +0000)
committersof <unknown>
Thu, 13 Dec 2001 01:00:28 +0000 (01:00 +0000)
Document -i option

ghc/docs/users_guide/packages.sgml

index b75a6d8..e57b3f9 100644 (file)
        <varlistentry>
          <term><option>--add-package</option></term>
          <term><option>-a</option></term>
-         <indexterm><primary><option>--add-package</option></primary>
-             </indexterm>
+         <indexterm><primary><option>--add-package</option></primary></indexterm>
          <listitem>
-           <para>Reads a package specification (see below) on stdin,
+           <para>Reads package specification from the input (see below),
            and adds it to the database of installed packages.  The
            package specification must be a package that isn't already
            installed.</para>
        </varlistentry>
 
        <varlistentry>
+         <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>