diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-26 07:20:13 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-26 07:20:13 +0000 |
commit | 68cb2f01fcab44bb7692da6af113e76acb3cff3d (patch) | |
tree | b5b5ab7def93cb5f82383d5507948831d50fe13b /usr.bin | |
parent | 7bff0064a5f8ad09f80f22c3d48a67895eae639e (diff) |
pretty code that prints usage
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/diff/diff.c | 8 |
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); } |