aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-26 04:15:41 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-26 04:15:41 +0000
commit2ccbf0603ef2d82abd3e4706b84940956cbe2252 (patch)
tree933fe5dd2aa55beca30d2e4f0b82d410a886c44a
parentbf91378aa0490e0917301c7a0525831c1ffcc6b0 (diff)
downloadmandoc-2ccbf0603ef2d82abd3e4706b84940956cbe2252.tar.gz
mandoc-2ccbf0603ef2d82abd3e4706b84940956cbe2252.tar.zst
mandoc-2ccbf0603ef2d82abd3e4706b84940956cbe2252.zip
Changed `-o' to `-O' for clarity. THIS BREAKS UTILITIES DEPENDING ON -o!
-rw-r--r--Makefile2
-rw-r--r--main.c4
-rw-r--r--mandoc.116
3 files changed, 11 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 2e3c867d..173aaa77 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ CFLAGS += $(VFLAGS)
LINTFLAGS += $(VFLAGS)
MANDOCFLAGS = -Wall -fstrict
-MANDOCHTML = -Thtml -ostyle=style.css,man=%N.%S.html,includes=%I.html
+MANDOCHTML = -Thtml -Ostyle=style.css,man=%N.%S.html,includes=%I.html
MDOCLNS = mdoc_macro.ln mdoc.ln mdoc_hash.ln mdoc_strings.ln \
mdoc_argv.ln mdoc_validate.ln mdoc_action.ln \
diff --git a/main.c b/main.c
index 134a8b84..d832541f 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.46 2009/10/13 10:57:25 kristaps Exp $ */
+/* $Id: main.c,v 1.47 2009/10/26 04:15:42 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -124,7 +124,7 @@ main(int argc, char *argv[])
curp.outtype = OUTT_ASCII;
/* LINTED */
- while (-1 != (c = getopt(argc, argv, "f:m:o:T:VW:")))
+ while (-1 != (c = getopt(argc, argv, "f:m:O:T:VW:")))
switch (c) {
case ('f'):
if ( ! foptions(&curp.fflags, optarg))
diff --git a/mandoc.1 b/mandoc.1
index 431be5a0..0d5a08ca 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.43 2009/10/15 02:42:53 kristaps Exp $
+.\" $Id: mandoc.1,v 1.44 2009/10/26 04:15:42 kristaps Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 15 2009 $
+.Dd $Mdocdate: October 26 2009 $
.Dt MANDOC 1
.Os
.
@@ -28,7 +28,7 @@
.Nm mandoc
.Op Fl f Ns Ar option...
.Op Fl m Ns Ar format
-.Op Fl o Ns Ar option...
+.Op Fl O Ns Ar option...
.Op Fl T Ns Ar output
.Op Fl V
.Op Fl W Ns Ar err...
@@ -54,7 +54,7 @@ Input format. See
for available formats. Defaults to
.Fl m Ns Ar andoc .
.
-.It Fl o Ns Ar option...
+.It Fl O Ns Ar option...
Comma-separated output options. See
.Sx Output Options
for details.
@@ -255,12 +255,12 @@ For the time being, only
.Fl T Ns Ar html
is the only mode with output options:
.Bl -tag -width Ds
-.It Fl o Ns Ar style=style.css
+.It Fl O Ns Ar style=style.css
The file
.Ar style.css
is used for an external style-sheet. This must be a valid absolute or
relative URI.
-.It Fl o Ns Ar includes=fmt
+.It Fl O Ns Ar includes=fmt
The string
.Ar fmt ,
for example,
@@ -271,7 +271,7 @@ macro). Instances of
.Sq \&%I
are replaced with the include filename. The default is not to present a
hyperlink.
-.It Fl o Ns Ar man=fmt
+.It Fl O Ns Ar man=fmt
The string
.Ar fmt ,
for example,
@@ -413,4 +413,4 @@ the maximum size of an element attribute is determined by
.Dv BUFSIZ ,
which is usually 1024 bytes. Be aware of this when setting long link
formats with
-.Fl o Ns Ar man=fmt .
+.Fl O Ns Ar man=fmt .