From: jmc Date: Sat, 26 Jul 2008 10:57:09 +0000 (+0000) Subject: add -b to SYNOPSIS and usage(); X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9734e128a3176e2c60fbd0ffe264cfdee4b267f4;p=openbsd add -b to SYNOPSIS and usage(); --- 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 . 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 . 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);