summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2008-07-26 10:57:10 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2008-07-26 10:57:10 +0000
commit4025291f45bb5c54496cff7d9f6911090753d623 (patch)
tree0764646b9dfa574c68358783b6c1d825a2d9df6b
parent99b10a8cd0788883785e8f6fd607b2a6d4ceaa98 (diff)
add -b to SYNOPSIS and usage();
-rw-r--r--usr.bin/locate/locate/locate.16
-rw-r--r--usr.bin/locate/locate/locate.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/locate/locate/locate.1 b/usr.bin/locate/locate/locate.1
index a947f966723..46c88f2c8ed 100644
--- a/usr.bin/locate/locate/locate.1
+++ b/usr.bin/locate/locate/locate.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: locate.1,v 1.26 2008/07/26 09:48:00 pyr Exp $
+.\" $OpenBSD: locate.1,v 1.27 2008/07/26 10:57:09 jmc Exp $
.\"
.\" Copyright (c) 1995 Wolfram Schneider <wosch@FreeBSD.org>. Berlin.
.\" Copyright (c) 1990, 1993
@@ -29,7 +29,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)locate.1 8.1 (Berkeley) 6/6/93
-.\" $Id: locate.1,v 1.26 2008/07/26 09:48:00 pyr Exp $
+.\" $Id: locate.1,v 1.27 2008/07/26 10:57:09 jmc Exp $
.\"
.Dd $Mdocdate: July 26 2008 $
.Dt LOCATE 1
@@ -39,7 +39,7 @@
.Nd find filenames quickly
.Sh SYNOPSIS
.Nm locate
-.Op Fl cimSs
+.Op Fl bcimSs
.Op Fl d Ar database
.Op Fl l Ar limit
.Ar pattern ...
diff --git a/usr.bin/locate/locate/locate.c b/usr.bin/locate/locate/locate.c
index fb72f5015bc..4ce89815571 100644
--- a/usr.bin/locate/locate/locate.c
+++ b/usr.bin/locate/locate/locate.c
@@ -1,5 +1,5 @@
/*
- * $OpenBSD: locate.c,v 1.20 2008/07/26 09:48:00 pyr Exp $
+ * $OpenBSD: locate.c,v 1.21 2008/07/26 10:57:09 jmc Exp $
*
* Copyright (c) 1995 Wolfram Schneider <wosch@FreeBSD.org>. Berlin.
* Copyright (c) 1989, 1993
@@ -32,7 +32,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: locate.c,v 1.20 2008/07/26 09:48:00 pyr Exp $
+ * $Id: locate.c,v 1.21 2008/07/26 10:57:09 jmc Exp $
*/
#ifndef lint
@@ -46,7 +46,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)locate.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: locate.c,v 1.20 2008/07/26 09:48:00 pyr Exp $";
+static char rcsid[] = "$OpenBSD: locate.c,v 1.21 2008/07/26 10:57:09 jmc Exp $";
#endif
#endif /* not lint */
@@ -337,7 +337,7 @@ cputime(void)
void
usage(void)
{
- (void)fprintf(stderr, "usage: locate [-cimSs] [-d database] ");
+ (void)fprintf(stderr, "usage: locate [-bcimSs] [-d database] ");
(void)fprintf(stderr, "[-l limit] pattern ...\n");
(void)fprintf(stderr, "default database: `%s' or $LOCATE_PATH\n",
_PATH_FCODES);