diff options
author | Hugh Graham <hugh@cvs.openbsd.org> | 2001-08-22 23:02:49 +0000 |
---|---|---|
committer | Hugh Graham <hugh@cvs.openbsd.org> | 2001-08-22 23:02:49 +0000 |
commit | 72f365027fc58cbd0c6482e05c1943ac23a6b2f0 (patch) | |
tree | 0c45f9063d27f870fc98f9625e9c6e099f5b6a1c /usr.bin/find/main.c | |
parent | 71b936e4c451995543154c3dfcc82b27261de946 (diff) |
Since we're in pedant mode again, we might as well be thorough. It's
bad form to assume that the absence of an expression will default to
"-print", as one may still encounter versions of find where this is
not the case. The examples given are all careful to use an explicit
"-print", so follow their lead and mark the expression as a required
field even though find will run without one.
Diffstat (limited to 'usr.bin/find/main.c')
-rw-r--r-- | usr.bin/find/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/find/main.c b/usr.bin/find/main.c index dc5522b473a..ac91924a785 100644 --- a/usr.bin/find/main.c +++ b/usr.bin/find/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.10 2001/08/22 16:50:50 heko Exp $ */ +/* $OpenBSD: main.c,v 1.11 2001/08/22 23:02:48 hugh Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -35,7 +35,7 @@ #ifndef lint /*static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93";*/ -static char rcsid[] = "$OpenBSD: main.c,v 1.10 2001/08/22 16:50:50 heko Exp $"; +static char rcsid[] = "$OpenBSD: main.c,v 1.11 2001/08/22 23:02:48 hugh Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -145,6 +145,6 @@ static void usage() { (void)fprintf(stderr, - "usage: find [-HdhXxW] [-f file] file [...] [expression]\n"); + "usage: find [-HdhXxW] [-f file] file [...] expression\n"); exit(1); } |