summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--makewhatis.82
-rw-r--r--mandocdb.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/makewhatis.8 b/makewhatis.8
index 9b70af15..7b262ea2 100644
--- a/makewhatis.8
+++ b/makewhatis.8
@@ -41,7 +41,7 @@
.Fl u Ar dir
.Op Ar
.Nm
-.Op Fl Q
+.Op Fl DQ
.Fl t Ar
.Sh DESCRIPTION
The
diff --git a/mandocdb.c b/mandocdb.c
index e35501c4..277c00dc 100644
--- a/mandocdb.c
+++ b/mandocdb.c
@@ -1996,6 +1996,8 @@ dbadd(struct mpage *mpage, struct mchars *mc)
mlink = mpage->mlinks;
if (nodb) {
+ if (0 == debug)
+ return;
while (NULL != mlink) {
fputs(mlink->name, stdout);
if (NULL == mlink->next ||