From ae31c624796c0d1f8969261195d13eca22ecca14 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 26 Oct 2009 04:15:41 +0000 Subject: Changed `-o' to `-O' for clarity. THIS BREAKS UTILITIES DEPENDING ON -o! --- Makefile | 2 +- main.c | 2 +- mandoc.1 | 12 ++++++------ 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 . -- cgit