diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2012-05-27 17:48:57 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2012-05-27 17:48:57 +0000 |
commit | cc286dde362eb32238e74c6bd62962a7ffe6e872 (patch) | |
tree | 97852d737c2a1eefdd93d854c28cb4b9aa0236eb /mandoc.1 | |
parent | 7c536cb6230f46a3b6438c2611168d45f1ef2cb2 (diff) | |
download | mandoc-cc286dde362eb32238e74c6bd62962a7ffe6e872.tar.gz |
Support -Ios='OpenBSD 5.1' to override uname(3) as the source of the
default value for the mdoc(7) .Os macro.
Needed for man.cgi on the OpenBSD website.
Problem with man.cgi first noticed by deraadt@;
beck@ and deraadt@ agree with the way to solve the issue.
"Please check them in and I'll look into them later!" kristaps@
Diffstat (limited to 'mandoc.1')
-rw-r--r-- | mandoc.1 | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,6 +1,7 @@ .\" $Id$ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> +.\" Copyright (c) 2012 Ingo Schwarze <schwarze@openbsd.org> .\" .\" Permission to use, copy, modify, and distribute this software for any .\" purpose with or without fee is hereby granted, provided that the above @@ -23,6 +24,9 @@ .Sh SYNOPSIS .Nm mandoc .Op Fl V +.Sm off +.Op Fl I Cm os Li = Ar name +.Sm on .Op Fl m Ns Ar format .Op Fl O Ns Ar option .Op Fl T Ns Ar output @@ -49,6 +53,15 @@ output. .Pp The arguments are as follows: .Bl -tag -width Ds +.Sm off +.It Fl I Cm os Li = Ar name +.Sm on +Override the default operating system +.Ar name +for the +.Xr mdoc 7 +.Sq \&Os +macro. .It Fl m Ns Ar format Input format. See |