diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2005-05-21 09:55:10 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2005-05-21 09:55:10 +0000 |
commit | f682f10c76449b3af3b1dd9afff859cd1cd07116 (patch) | |
tree | 4870c75413d8f7d09b554f2a2207e1d05af42979 /usr.bin/c89 | |
parent | 9b3eb503540780da14e359b10886a885eb649497 (diff) |
Sync program's usage() with manpage's SYNOPSIS.
Notes
Notes:
svn path=/head/; revision=146466
Diffstat (limited to 'usr.bin/c89')
-rw-r--r-- | usr.bin/c89/c89.1 | 15 | ||||
-rw-r--r-- | usr.bin/c89/c89.c | 4 |
2 files changed, 7 insertions, 12 deletions
diff --git a/usr.bin/c89/c89.1 b/usr.bin/c89/c89.1 index 1d75d30b65f9..7d1a9d1b1687 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 82d64275ed84..a1dc9b2a6238 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"); |