Documentation only - fix typo in flags reference
[ghc-hetmet.git] / docs / users_guide / flags.xml
index b417f7e..27c0dda 100644 (file)
            </row>
            <row>
              <entry><option>--show-iface</option> <replaceable>file</replaceable></entry>
-             <entry>Read the interface in
-             <replaceable>file</replaceable> and dump it as text to
-             <literal>stdout</literal>.</entry>
-             <entry>mode</entry>
-             <entry>-</entry>
+             <entry>See <xref linkend="modes"/>.</entry>
            </row>
          </tbody>
        </tgroup>
       </informaltable>
     </sect2>
 
-    <sect2>
+    <sect2 id="interactive-mode-options">
       <title>Interactive-mode options</title>
       
       <para><xref linkend="ghci-dot-files"/></para>
              <entry><option>-fno-break-on-error</option></entry>
            </row>
            <row>
+             <entry><option>-fprint-evld-with-show</option></entry>
+             <entry><link linkend="breakpoints">Enable usage of Show instances in <literal>:print</literal></link></entry>
+             <entry>dynamic</entry>
+             <entry><option>-fno-print-evld-with-show</option></entry>
+           </row>          
+           <row>
+             <entry><option>-fprint-bind-result</option></entry>
+             <entry><link linkend="ghci-stmts">Turn on printing of binding results in GHCi</link></entry>
+             <entry>dynamic</entry>
              <entry><option>-fno-print-bind-result</option></entry>
-             <entry><link linkend="ghci-stmts">Turn off printing of binding results in GHCi</link></entry>
+           </row>
+           <row>
+             <entry><option>-fno-print-bind-contents</option></entry>
+             <entry><link linkend="breakpoints">Turn off printing of binding contents in GHCi</link></entry>
              <entry>dynamic</entry>
              <entry>-</entry>
            </row>
+
          </tbody>
        </tgroup>
       </informaltable>
              <entry><option>-XNoTemplateHaskell</option></entry>
            </row>
            <row>
-             <entry><option>-XBangPtterns</option></entry>
+             <entry><option>-XBangPatterns</option></entry>
              <entry>Enable <link linkend="bang-patterns">bang patterns</link>.</entry>
              <entry>dynamic</entry>
              <entry><option>-XNoBangPatterns</option></entry>
              <entry><option>-XNoPatternGuards</option></entry>
            </row>
            <row>
+             <entry><option>-XViewPatterns</option></entry>
+             <entry>Enable <link linkend="view-patterns">view patterns</link>.</entry>
+             <entry>dynamic</entry>
+             <entry><option>-XNoViewPatterns</option></entry>
+           </row>
+           <row>
              <entry><option>-XUnicodeSyntax</option></entry>
              <entry>Enable unicode syntax.</entry>
              <entry>dynamic</entry>
            </row>
            <row>
              <entry><option>-XKindSignatures</option></entry>
-             <entry>Enable kind signatures.</entry>
+             <entry>Enable <link linkend="kinding">kind signatures</link>.</entry>
              <entry>dynamic</entry>
              <entry><option>-XNoKindSignatures</option></entry>
            </row>
              <entry><option>-XNoUnliftedFFITypes</option></entry>
            </row>
            <row>
-             <entry><option>-XPartiallyAppliedClosedTypeSynonyms</option></entry>
-             <entry>Enable partially applied type synonyms.</entry>
+             <entry><option>-XLiberalTypeSynonyms</option></entry>
+             <entry>Enable <link linkend="type-synonyms">liberalised type synonyms</link>.</entry>
              <entry>dynamic</entry>
-             <entry><option>-XNoPartiallyAppliedClosedTypeSynonyms</option></entry>
+             <entry><option>-XNoLiberalTypeSynonyms</option></entry>
            </row>
            <row>
-             <entry><option>-XNoRank2Types</option></entry>
+             <entry><option>-XRank2Types</option></entry>
              <entry>Enable rank-2 types.</entry>
              <entry>dynamic</entry>
              <entry><option>-XNoRank2Types</option></entry>
 
          <row>
            <entry><option>-fwarn-orphans</option></entry>
-           <entry>warn when the module contains "orphan" instance declarations
-           or rewrite rules</entry>
+           <entry>warn when the module contains <link linkend="orphan-modules">orphan instance declarations
+           or rewrite rules</link></entry>
            <entry>dynamic</entry>
            <entry><option>-fno-warn-orphans</option></entry>
          </row>
            </row>
            <row>
              <entry><option>-hpcdir dir</option></entry>
-             <entry>Directory to deposit .mix files during compilation</entry>
+             <entry>Directory to deposit .mix files during compilation (default is .hpc)</entry>
              <entry>dynamic</entry>
              <entry><option>-</option></entry>
            </row>
            </row>
            <row>
              <entry><option>-ddump-hpc</option></entry>
-             <entry>Dump after intrumentation for program coverage</entry>
+             <entry>Dump after instrumentation for program coverage</entry>
              <entry>dynamic</entry>
              <entry>-</entry>
            </row>
            </row>
            <row>
              <entry><option>-ddump-splices</option></entry>
-             <entry>Dump TH splided expressions, and what they evaluate to</entry>
+             <entry>Dump TH spliced expressions, and what they evaluate to</entry>
              <entry>dynamic</entry>
              <entry>-</entry>
            </row>
              <entry>dynamic</entry>
              <entry>-</entry>
            </row>
-           <row>
-             <entry><option>-unreg</option></entry>
-             <entry>Enable unregisterised compilation</entry>
-             <entry>static</entry>
-             <entry>-</entry>
-           </row>
          </tbody>
        </tgroup>
       </informaltable>