summaryrefslogtreecommitdiffstats
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
commitae31c624796c0d1f8969261195d13eca22ecca14 (patch)
tree721297ab95b7ac013ca1641e403b98c65238251f
parent19a32a4c143965883bb87247ee3c503bd159f61f (diff)
downloadmandoc-ae31c624796c0d1f8969261195d13eca22ecca14.tar.gz
Changed `-o' to `-O' for clarity. THIS BREAKS UTILITIES DEPENDING ON -o!
-rw-r--r--Makefile2
-rw-r--r--main.c2
-rw-r--r--mandoc.112
3 files changed, 8 insertions, 8 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 c94f1072..69ae0e7a 100644
--- a/main.c
+++ b/main.c
@@ -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 e3791e37..b02dfb07 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -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 .