summaryrefslogtreecommitdiffstats
path: root/usr.bin/c89
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-05-21 09:55:10 +0000
committerru <ru@FreeBSD.org>2005-05-21 09:55:10 +0000
commit0491ba1f6311b421efbea894a9c8c6c704b48cac (patch)
tree4870c75413d8f7d09b554f2a2207e1d05af42979 /usr.bin/c89
parent5a7d45e3b5455d554665269116b17dfc57718640 (diff)
downloadFreeBSD-src-0491ba1f6311b421efbea894a9c8c6c704b48cac.zip
FreeBSD-src-0491ba1f6311b421efbea894a9c8c6c704b48cac.tar.gz
Sync program's usage() with manpage's SYNOPSIS.
Diffstat (limited to 'usr.bin/c89')
-rw-r--r--usr.bin/c89/c89.115
-rw-r--r--usr.bin/c89/c89.c4
2 files changed, 7 insertions, 12 deletions
diff --git a/usr.bin/c89/c89.1 b/usr.bin/c89/c89.1
index 1d75d30..7d1a9d1 100644
--- a/usr.bin/c89/c89.1
+++ b/usr.bin/c89/c89.1
@@ -33,17 +33,12 @@
.Nd POSIX.2 C language compiler
.Sh SYNOPSIS
.Nm
-.Op Fl c
-.Op Fl D Ar name Ns Op = Ns Ar value
-.Ar ...
-.Op Fl E
-.Op Fl g
-.Op Fl I Ar directory ...
-.Op Fl L Ar directory ...
+.Op Fl cEgOs
+.Oo Fl D Ar name Ns Oo = Ns Ar value Oc Oc ...
+.Oo Fl I Ar directory Oc ...
+.Oo Fl L Ar directory Oc ...
.Op Fl o Ar outfile
-.Op Fl O
-.Op Fl s
-.Op Fl U Ar name ...
+.Oo Fl U Ar name Oc ...
.Ar operand ...
.Sh DESCRIPTION
This is the name of the C language compiler as required by the
diff --git a/usr.bin/c89/c89.c b/usr.bin/c89/c89.c
index 82d6427..a1dc9b2 100644
--- a/usr.bin/c89/c89.c
+++ b/usr.bin/c89/c89.c
@@ -102,8 +102,8 @@ static void
usage(void)
{
fprintf(stderr,
-"usage: c89 [-c] [-D name[=value]] [...] [-E] [-g] [-I directory ...]\n"
-" [-L directory ...] [-o outfile] [-O] [-s] [-U name ...] operand ...\n"
+"usage: c89 [-cEgOs] [-D name[=value]] ... [-I directory] ... [-L directory] ...\n"
+" [-o outfile] [-U name] ... operand ...\n"
"\n"
" where operand is one or more of file.c, file.o, file.a\n"
" or -llibrary\n");
OpenPOWER on IntegriCloud