aboutsummaryrefslogtreecommitdiff
path: root/doc/haddock.sgml
diff options
context:
space:
mode:
authorsimonmar <unknown>2003-11-05 11:30:53 +0000
committersimonmar <unknown>2003-11-05 11:30:53 +0000
commit33a78846607be290e0dfcf784e4709c00a584383 (patch)
tree44eb78e5b390ad877eba6d4dafd6acf6d227ec09 /doc/haddock.sgml
parent58513e3304df3478032425853de1fdde88665582 (diff)
[haddock @ 2003-11-05 11:30:52 by simonmar]
- Suppress warnings about unknown imported modules by default. - Add a -v/--verbose flag to re-enable these warnings. The general idea is to suppress the "Warning: unknown module: Prelude" warnings which most Haddock users will see every time, and which aren't terribly useful.
Diffstat (limited to 'doc/haddock.sgml')
-rw-r--r--doc/haddock.sgml16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/haddock.sgml b/doc/haddock.sgml
index a74e91fc..a098fb6c 100644
--- a/doc/haddock.sgml
+++ b/doc/haddock.sgml
@@ -469,6 +469,22 @@
</varlistentry>
<varlistentry>
+ <term><option>-v</option></term>
+ <term><option>--verbose</option></term>
+ <indexterm><primary><option>-v</option></primary>
+ </indexterm>
+ <indexterm><primary><option>--verbose</option></primary>
+ </indexterm>
+ <listitem>
+ <para>Increase verbosity. Currently this will cause Haddock
+ to emit some extra warnings, in particular about modules
+ which were imported but it had no information about (this is
+ often quite normal; for example when there is no information
+ about the <literal>Prelude</literal>).</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>-V</option></term>
<term><option>--version</option></term>
<indexterm><primary><option>-V</option></primary></indexterm>