similar to what the old apropos did.
Requested by and OK deraadt@.
-/* $OpenBSD: main.c,v 1.140 2015/04/18 16:34:03 schwarze Exp $ */
+/* $OpenBSD: main.c,v 1.141 2015/04/19 15:10:04 schwarze Exp $ */
/*
* Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2012, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
argc, argv, &res, &sz);
if (sz == 0) {
+ fprintf(stderr, "%s: nothing appropriate\n",
+ progname);
rc = MANDOCLEVEL_BADARG;
goto out;
}