diff options
author | 2011-06-08 20:22:02 +0000 | |
---|---|---|
committer | 2011-06-08 20:22:02 +0000 | |
commit | 0259db1efc626ee3d755e8adacb28ee910e79a2d (patch) | |
tree | 8a75aa05f46a579fe75ab76f9e9fefac2a1e59b2 /usr.bin/lex/main.c | |
parent | Revert fakecdrom elimination pending further testing. ariane@ pointed (diff) | |
download | wireguard-openbsd-0259db1efc626ee3d755e8adacb28ee910e79a2d.tar.xz wireguard-openbsd-0259db1efc626ee3d755e8adacb28ee910e79a2d.zip |
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 4a911c819c2..20e7c0fcdf9 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: /home/cvs/src/usr.bin/lex/main.c,v 1.11 2009/10/27 23:59:39 deraadt Exp $ */ +/* $Header: /home/cvs/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" ) ); |