From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (schwarze@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id s3PCDFTr003595 for ; Fri, 25 Apr 2014 08:13:15 -0400 (EDT) Received: (from schwarze@localhost) by krisdoz.my.domain (8.14.5/8.14.3/Submit) id s3PCDF5O011397; Fri, 25 Apr 2014 08:13:15 -0400 (EDT) Date: Fri, 25 Apr 2014 08:13:15 -0400 (EDT) Message-Id: <201404251213.s3PCDF5O011397@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: Reduce the verbosity of makewhatis -t: In the past, it always X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- 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@. Modified Files: -------------- mdocml: makewhatis.8 mandocdb.c Revision Data ------------- Index: makewhatis.8 =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/makewhatis.8,v retrieving revision 1.1 retrieving revision 1.2 diff -Lmakewhatis.8 -Lmakewhatis.8 -u -p -r1.1 -r1.2 --- makewhatis.8 +++ 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 Index: mandocdb.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mandocdb.c,v retrieving revision 1.144 retrieving revision 1.145 diff -Lmandocdb.c -Lmandocdb.c -u -p -r1.144 -r1.145 --- mandocdb.c +++ mandocdb.c @@ -1996,6 +1996,8 @@ dbadd(struct mpage *mpage, struct mchars mlink = mpage->mlinks; if (nodb) { + if (0 == debug) + return; while (NULL != mlink) { fputs(mlink->name, stdout); if (NULL == mlink->next || -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv