Add a --print-docdir flag
[ghc-hetmet.git] / docs / users_guide / using.xml
index ee4d9fd..9df6eb5 100644 (file)
@@ -409,6 +409,20 @@ module X where
        </listitem>
       </varlistentry>
 
+      <varlistentry>
+       <term>
+         <cmdsynopsis>
+            <command>ghc --print-docdir</command>
+          </cmdsynopsis>
+          <indexterm><primary><option>&ndash;&ndash;print-docdir</option></primary></indexterm>
+        </term>
+       <listitem>
+         <para>Print the path to GHC's documentation directory. Note that
+      some distributions do no include the documentation, in which case
+      this directory may be empty or may not exist.</para>
+       </listitem>
+      </varlistentry>
+
     </variablelist>
 
     <sect2 id="make-mode">