From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]); by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id c275209e; for ; Sun, 19 Apr 2015 10:11:16 -0500 (EST) Date: Sun, 19 Apr 2015 10:11:16 -0500 (EST) Message-Id: <10075292860566498502.enqueue@fantadrom.bsd.lv> 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: If apropos(1) finds no match, print "nothing appropriate" to X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- If apropos(1) finds no match, print "nothing appropriate" to stderr similar to what the old apropos did. Requested by and OK deraadt@. Modified Files: -------------- mdocml: main.c Revision Data ------------- Index: main.c =================================================================== RCS file: /home/cvs/mdocml/mdocml/main.c,v retrieving revision 1.235 retrieving revision 1.236 diff -Lmain.c -Lmain.c -u -p -r1.235 -r1.236 --- main.c +++ main.c @@ -357,6 +357,8 @@ main(int argc, char *argv[]) argc, argv, &res, &sz); if (sz == 0) { + fprintf(stderr, "%s: nothing appropriate\n", + progname); rc = MANDOCLEVEL_BADARG; goto out; } -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv