summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-06-26 07:20:12 +0000
committerderaadt <deraadt@openbsd.org>2003-06-26 07:20:12 +0000
commitc012fe98baa271ef41d035e63ef5631394424c3f (patch)
tree2b8418f481c005c2efea05e3882416f76dad976b /usr.bin/diff/diff.c
parentrename -h files to -h avgfpdir in synopsis to match reality (diff)
downloadwireguard-openbsd-c012fe98baa271ef41d035e63ef5631394424c3f.tar.xz
wireguard-openbsd-c012fe98baa271ef41d035e63ef5631394424c3f.zip
pretty code that prints usage
Diffstat (limited to 'usr.bin/diff/diff.c')
-rw-r--r--usr.bin/diff/diff.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/diff/diff.c b/usr.bin/diff/diff.c
index 556086c45de..21122b48466 100644
--- a/usr.bin/diff/diff.c
+++ b/usr.bin/diff/diff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff.c,v 1.13 2003/06/26 04:52:26 millert Exp $ */
+/* $OpenBSD: diff.c,v 1.14 2003/06/26 07:20:12 deraadt Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
@@ -254,11 +254,13 @@ noroom(void)
__dead void
usage(void)
{
- (void)fprintf(stderr, "usage: diff [-bitw] [-c | -e | -f | -h | -n | -u ] file1 file2\n"
+ (void)fprintf(stderr,
+ "usage: diff [-bitw] [-c | -e | -f | -h | -n | -u ] file1 file2\n"
" diff [-bitw] -C number file1 file2\n"
" diff [-bitw] -D string file1 file2\n"
" diff [-bitw] -U number file1 file2\n"
- " diff [-biwt] [-c | -e | -f | -h | -n | -u ] [-l] [-r] [-s] [-S name]\n dir1 dir2\n");
+ " diff [-biwt] [-c | -e | -f | -h | -n | -u ] "
+ "[-l] [-r] [-s] [-S name]\n dir1 dir2\n");
exit(1);
}