diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-11-10 00:55:00 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-11-10 00:55:00 +0000 |
commit | bbc2ef7437a8523247908ac41b0e1ab740057ce6 (patch) | |
tree | 4e5b6203cc9bf14877f7505fa9a62ac87ca24812 /usr.bin/xlint | |
parent | 83eb0263a1ea8fe0ce2a46dacfaf6cd08a5afb23 (diff) |
fix usage message
Diffstat (limited to 'usr.bin/xlint')
-rw-r--r-- | usr.bin/xlint/xlint/xlint.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/usr.bin/xlint/xlint/xlint.c b/usr.bin/xlint/xlint/xlint.c index 55401240f08..f0a70ab6ea5 100644 --- a/usr.bin/xlint/xlint/xlint.c +++ b/usr.bin/xlint/xlint/xlint.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xlint.c,v 1.31 2006/05/06 20:47:58 espie Exp $ */ +/* $OpenBSD: xlint.c,v 1.32 2006/11/10 00:54:59 deraadt Exp $ */ /* $NetBSD: xlint.c,v 1.3 1995/10/23 14:29:30 jpo Exp $ */ /* @@ -33,7 +33,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: xlint.c,v 1.31 2006/05/06 20:47:58 espie Exp $"; +static char rcsid[] = "$OpenBSD: xlint.c,v 1.32 2006/11/10 00:54:59 deraadt Exp $"; #endif #include <sys/param.h> @@ -265,11 +265,10 @@ appdef(char ***lstp, const char *def) static void usage() { - (void)printf("lint [-abceghprvxzHF] [-s|-t] [-i|-nu] [-Dname[=def]] [-Uname]\n"); - (void)printf(" [-Idirectory] [-Ldirectory] [-llibrary] [-ooutputfile] file ...\n"); - (void)printf("\n"); - (void)printf("lint [-abceghprvzHF] [-s|-t] -Clibrary [-Dname[=def]]\n"); - (void)printf(" [-Idirectory] [-Uname] file ...\n"); + (void)printf("usage: lint [-abceghprvxzHF] [-s|-t] [-i|-nu] [-Dname[=def]] [-Uname]\n"); + (void)printf(" [-Idirectory] [-Ldirectory] [-llibrary] [-ooutputfile] file ...\n"); + (void)printf(" lint [-abceghprvzHF] [-s|-t] -Clibrary [-Dname[=def]]\n"); + (void)printf(" [-Idirectory] [-Uname] file ...\n"); terminate(-1); } |