aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/c99
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2005-05-21 09:55:10 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2005-05-21 09:55:10 +0000
commitf682f10c76449b3af3b1dd9afff859cd1cd07116 (patch)
tree4870c75413d8f7d09b554f2a2207e1d05af42979 /usr.bin/c99
parent9b3eb503540780da14e359b10886a885eb649497 (diff)
downloadsrc-f682f10c76449b3af3b1dd9afff859cd1cd07116.tar.gz
src-f682f10c76449b3af3b1dd9afff859cd1cd07116.zip
Notes
Diffstat (limited to 'usr.bin/c99')
-rw-r--r--usr.bin/c99/c99.19
-rw-r--r--usr.bin/c99/c99.c7
2 files changed, 7 insertions, 9 deletions
diff --git a/usr.bin/c99/c99.1 b/usr.bin/c99/c99.1
index c1d902ba3caf..615d27703e6b 100644
--- a/usr.bin/c99/c99.1
+++ b/usr.bin/c99/c99.1
@@ -35,13 +35,12 @@
.Sh SYNOPSIS
.Nm
.Op Fl cEgs
-.Op Fl D Ar name Ns Op = Ns Ar value
-.Ar ...
-.Op Fl I Ar directory ...
-.Op Fl L Ar directory ...
+.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 Ar optlevel
-.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/c99/c99.c b/usr.bin/c99/c99.c
index 17dc27e0cd67..553099f65cc1 100644
--- a/usr.bin/c99/c99.c
+++ b/usr.bin/c99/c99.c
@@ -126,9 +126,8 @@ addlib(const char *lib)
void
usage(void)
{
- fprintf(stderr,
-"usage: c99 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...\n");
- fprintf(stderr,
-" [-o outfile] [-O optlevel] [-U name]... operand ...\n");
+ (void)fprintf(stderr, "%s\n%s\n",
+"usage: c99 [-cEgs] [-D name[=value]] ... [-I directory] ... [-L directory] ...",
+" [-o outfile] [-O optlevel] [-U name] ... operand ...");
exit(1);
}