summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.c
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2007-03-01 21:48:32 +0000
committerjmc <jmc@openbsd.org>2007-03-01 21:48:32 +0000
commitd4b26a095fb8c0cdbf32923ee2e026e8da126ab6 (patch)
treeb308751a1185ae680efb12ca920c5cb0ee72d9cd /usr.bin/diff/diff.c
parenttypo (diff)
downloadwireguard-openbsd-d4b26a095fb8c0cdbf32923ee2e026e8da126ab6.tar.xz
wireguard-openbsd-d4b26a095fb8c0cdbf32923ee2e026e8da126ab6.zip
sort options/synopsis/usage();
from Igor Sobrado
Diffstat (limited to 'usr.bin/diff/diff.c')
-rw-r--r--usr.bin/diff/diff.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/usr.bin/diff/diff.c b/usr.bin/diff/diff.c
index 065def887d1..af77b37b9c5 100644
--- a/usr.bin/diff/diff.c
+++ b/usr.bin/diff/diff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff.c,v 1.48 2004/12/09 18:56:10 millert Exp $ */
+/* $OpenBSD: diff.c,v 1.49 2007/03/01 21:48:32 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.48 2004/12/09 18:56:10 millert Exp $";
+static const char rcsid[] = "$OpenBSD: diff.c,v 1.49 2007/03/01 21:48:32 jmc Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -443,14 +443,13 @@ __dead void
usage(void)
{
(void)fprintf(stderr,
- "usage: diff [-abdilpqtTw] [-I pattern] [-c | -e | -f | -n | -u]\n"
+ "usage: diff [-abdilpqTtw] [-I pattern] [-c | -e | -f | -n | -u]\n"
" [-L label] file1 file2\n"
- " diff [-abdilpqtTw] [-I pattern] [-L label] -C number file1 file2\n"
+ " diff [-abdilpqTtw] [-I pattern] [-L label] -C number file1 file2\n"
" diff [-abdilqtw] [-I pattern] -D string file1 file2\n"
- " diff [-abdilpqtTw] [-I pattern] [-L label] -U number file1 file2\n"
- " diff [-abdilNPpqtTw] [-I pattern] [-c | -e | -f | -n | -u]\n"
- " [-L label] [-r] [-s] [-S name] [-X file] [-x pattern] dir1\n"
- " dir2\n");
+ " diff [-abdilpqTtw] [-I pattern] [-L label] -U number file1 file2\n"
+ " diff [-abdilNPpqrsTtw] [-I pattern] [-c | -e | -f | -n | -u]\n"
+ " [-L label] [-S name] [-X file] [-x pattern] dir1 dir2\n");
exit(2);
}