diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2011-06-08 20:22:03 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2011-06-08 20:22:03 +0000 |
commit | 69a849b8086f2a11905df141b8233ef83d9e9e5f (patch) | |
tree | f0a50361b2b332545b7094559c29be78c9b9e491 /usr.bin/lex/main.c | |
parent | 2e3bfa5b3ba985c5f9f88c52415b00c4acbb1206 (diff) |
do not document the -c flag: it was added for posix compliance,
but posix deprecated this option in issue 6 (code remains though);
from Daniel Dickman
ok otto millert
Diffstat (limited to 'usr.bin/lex/main.c')
-rw-r--r-- | usr.bin/lex/main.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/lex/main.c b/usr.bin/lex/main.c index 747c25845be..1796dca7942 100644 --- a/usr.bin/lex/main.c +++ b/usr.bin/lex/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.11 2009/10/27 23:59:39 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.12 2011/06/08 20:22:02 jmc Exp $ */ /* flex - tool to generate fast lexical analyzers */ @@ -33,7 +33,7 @@ * PURPOSE. */ -/* $Header: /cvs/OpenBSD/src/usr.bin/lex/main.c,v 1.11 2009/10/27 23:59:39 deraadt Exp $ */ +/* $Header: /cvs/OpenBSD/src/usr.bin/lex/main.c,v 1.12 2011/06/08 20:22:02 jmc Exp $ */ #include "flexdef.h" @@ -1115,13 +1115,12 @@ void usage() FILE *f = stdout; fprintf( f, -_( "%s [-bcdfhilnpstvwBFILTV78+? -C[aefFmr] -ooutput -Pprefix -Sskeleton]\n" ), +_( "%s [-bdfhilnpstvwBFILTV78+? -C[aefFmr] -ooutput -Pprefix -Sskeleton]\n" ), program_name ); fprintf( f, _( "\t[--help --version] [file ...]\n" ) ); fprintf( f, _( "\t-b generate backing-up information to %s\n" ), backing_name ); - fprintf( f, _( "\t-c do-nothing POSIX option\n" ) ); fprintf( f, _( "\t-d turn on debug mode in generated scanner\n" ) ); fprintf( f, _( "\t-f generate fast, large scanner\n" ) ); fprintf( f, _( "\t-h produce this help message\n" ) ); |