summaryrefslogtreecommitdiffstats
path: root/usr.bin/yacc
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1997-05-14 02:33:08 +0000
committersteve <steve@FreeBSD.org>1997-05-14 02:33:08 +0000
commit8e2246d8a6012944621b2d440a27e38c591fc40d (patch)
tree3706d030f0bb857fca53a0933bde4cf6d9d7c086 /usr.bin/yacc
parent2939e33031c75fad103c3c5b64529d22f17546bd (diff)
downloadFreeBSD-src-8e2246d8a6012944621b2d440a27e38c591fc40d.zip
FreeBSD-src-8e2246d8a6012944621b2d440a27e38c591fc40d.tar.gz
Add back the description of the -o option.
Threatened PR by: Tim Vanderhoek :)
Diffstat (limited to 'usr.bin/yacc')
-rw-r--r--usr.bin/yacc/yacc.114
1 files changed, 13 insertions, 1 deletions
diff --git a/usr.bin/yacc/yacc.1 b/usr.bin/yacc/yacc.1
index 2e616e5..596d154 100644
--- a/usr.bin/yacc/yacc.1
+++ b/usr.bin/yacc/yacc.1
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)yacc.1 5.8 (Berkeley) 5/24/93
-.\" $Id$
+.\" $Id: yacc.1,v 1.6 1997/02/22 19:58:04 peter Exp $
.\"
.TH YACC 1 "May 24, 1993"
.UC 6
@@ -42,6 +42,8 @@ yacc \- an LALR(1) parser generator
.SH SYNOPSIS
.B yacc [ -dlrtv ] [ -b
.I file_prefix
+.B ] [ -o
+.I output_filename
.B ] [ -p
.I symbol_prefix
.B ]
@@ -87,6 +89,16 @@ If the \fB-l\fR option is specified,
will not insert the #line directives.
Any #line directives specified by the user will be retained.
.TP
+\fB-o \fIoutput_filename\fR
+The
+.B -o
+option causes
+.I yacc
+to write the generated code to
+.IR output_filename
+instead of the default file,
+.IR y.tab.c .
+.TP
\fB-p \fIsymbol_prefix\fR
The
.B -p
OpenPOWER on IntegriCloud