diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-04-25 12:13:15 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-04-25 12:13:15 +0000 |
commit | 1d17ea6790b69372d535d740e9db5aa20a30ca98 (patch) | |
tree | b48611619f0bd9b0b5017ec22e3323e3b7b71415 /mandocdb.c | |
parent | 104d232fbd10f97f7c8f4879e2957c549a2bcaa7 (diff) | |
download | mandoc-1d17ea6790b69372d535d740e9db5aa20a30ca98.tar.gz |
Reduce the verbosity of makewhatis -t:
In the past, it always showed the title lines of the files processed.
Now, it only shows them when called with -D.
That is better because pkg_create calls makewhatis -t.
It is also more consistent with -D behaviour in non- -t modes.
Issue reported by ajacoutot@; ok espie@ ajacoutot@ jasper@.
Diffstat (limited to 'mandocdb.c')
-rw-r--r-- | mandocdb.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 || |