Module Name: src
Committed By: wiz
Date: Fri Mar 29 21:39:16 UTC 2013
Modified Files:
src/usr.sbin/makemandb: apropos.c
Log Message:
Sync usage with man page.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/makemandb/apropos.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/makemandb/apropos.c
diff -u src/usr.sbin/makemandb/apropos.c:1.14 src/usr.sbin/makemandb/apropos.c:1.15
--- src/usr.sbin/makemandb/apropos.c:1.14 Fri Mar 29 20:37:00 2013
+++ src/usr.sbin/makemandb/apropos.c Fri Mar 29 21:39:16 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: apropos.c,v 1.14 2013/03/29 20:37:00 christos Exp $ */
+/* $NetBSD: apropos.c,v 1.15 2013/03/29 21:39:16 wiz Exp $ */
/*-
* Copyright (c) 2011 Abhinav Upadhyay <[email protected]>
* All rights reserved.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: apropos.c,v 1.14 2013/03/29 20:37:00 christos Exp $");
+__RCSID("$NetBSD: apropos.c,v 1.15 2013/03/29 21:39:16 wiz Exp $");
#include <err.h>
#include <search.h>
@@ -313,8 +313,8 @@ remove_stopwords(const char *query)
static void
usage(void)
{
- fprintf(stderr, "Usage: %s [-123456789Ccilpr] [-n <results>] "
- "[-s <section>] [-S <machine>] <query>\n",
+ fprintf(stderr, "Usage: %s [-123456789Ccilpr] [-n results] "
+ "[-S machine] [-s section] query\n",
getprogname());
exit(1);
}