summaryrefslogtreecommitdiff
path: root/usr.bin/diff/diff.c
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-09-07 18:50:59 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-09-07 18:50:59 +0000
commit066c8a154db03cac36c3631603c9dfa9b5f292c2 (patch)
tree8a76271c179b09c22b031d6dd728b0f6131ff06f /usr.bin/diff/diff.c
parent489d46253d126ce011dfd7bd1e98d466890987e4 (diff)
- add -P to SYNOPSIS
- remove "mutually exclusive" clause - -c produces 15 *'s, not a dozen - add -a to uage() - sync usage() with SYNOPSIS ok tedu@
Diffstat (limited to 'usr.bin/diff/diff.c')
-rw-r--r--usr.bin/diff/diff.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/diff/diff.c b/usr.bin/diff/diff.c
index 49244bb99fe..412a5c9b9bd 100644
--- a/usr.bin/diff/diff.c
+++ b/usr.bin/diff/diff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff.c,v 1.40 2003/09/07 18:16:02 tedu Exp $ */
+/* $OpenBSD: diff.c,v 1.41 2003/09/07 18:50:58 jmc Exp $ */
/*
* Copyright (c) 2003 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -21,7 +21,7 @@
*/
#ifndef lint
-static const char rcsid[] = "$OpenBSD: diff.c,v 1.40 2003/09/07 18:16:02 tedu Exp $";
+static const char rcsid[] = "$OpenBSD: diff.c,v 1.41 2003/09/07 18:50:58 jmc Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -376,12 +376,12 @@ __dead void
usage(void)
{
(void)fprintf(stderr,
- "usage: diff [-bdilqtTw] [-c | -e | -f | -n | -u] [-L label] file1 file2\n"
- " diff [-bdilqtTw] [-L label] -C number file1 file2\n"
- " diff [-bdilqtw] -D string file1 file2\n"
- " diff [-bdilqtTw] [-L label] -U number file1 file2\n"
- " diff [-bdilNPqwtT] [-c | -e | -f | -n | -u ] [-L label] [-r] [-s] [-S name]\n"
- " [-X file] [-x pattern] dir1 dir2\n");
+ "usage: diff [-abdilqtTw] [-c | -e | -f | -n | -u] [-L label] file1 file2\n"
+ " diff [-abdilqtTw] [-L label] -C number file1 file2\n"
+ " diff [-abdilqtw] -D string file1 file2\n"
+ " diff [-abdilqtTw] [-L label] -U number file1 file2\n"
+ " diff [-abdilNPqtTw] [-c | -e | -f | -n | -u ] [-L label] [-r] [-s]\n"
+ " [-S name] [-X file] [-x pattern] dir1 dir2\n");
exit(2);
}