summaryrefslogtreecommitdiff
path: root/usr.bin/look/look.c
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2009-06-17 10:42:09 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2009-06-17 10:42:09 +0000
commit0e06e031854a64208d534dcb7355b0230bb6aeb6 (patch)
treebfde0297611b77233d61f3882f8ddc2ab789dd0f /usr.bin/look/look.c
parent81784ac698772fc6aacf129095805c37b0df11a3 (diff)
synchronize synopsis and usage.
Diffstat (limited to 'usr.bin/look/look.c')
-rw-r--r--usr.bin/look/look.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/look/look.c b/usr.bin/look/look.c
index 372e53e68a7..9b5cf999576 100644
--- a/usr.bin/look/look.c
+++ b/usr.bin/look/look.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: look.c,v 1.11 2005/06/25 17:00:35 niallo Exp $ */
+/* $OpenBSD: look.c,v 1.12 2009/06/17 10:42:08 sobrado Exp $ */
/* $NetBSD: look.c,v 1.7 1995/08/31 22:41:02 jtc Exp $ */
/*-
@@ -43,7 +43,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)look.c 8.2 (Berkeley) 5/4/95";
#endif
-static char rcsid[] = "$OpenBSD: look.c,v 1.11 2005/06/25 17:00:35 niallo Exp $";
+static char rcsid[] = "$OpenBSD: look.c,v 1.12 2009/06/17 10:42:08 sobrado Exp $";
#endif /* not lint */
/*
@@ -321,6 +321,7 @@ compare(char *s1, char *s2, char *back)
void
usage(void)
{
- (void)fprintf(stderr, "usage: look [-df] [-t char] string [file]\n");
+ (void)fprintf(stderr,
+ "usage: look [-df] [-t termchar] string [file]\n");
exit(2);
}