summaryrefslogtreecommitdiffstats
path: root/libman.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-12-28 14:42:27 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-12-28 14:42:27 +0000
commite0c8ee70b0d6b84f57714a5446e2ecfeca8826b4 (patch)
treea958c1c720cac88b7740009ea1436b5c356e1eb7 /libman.h
parent6c9bf65b847eba6ae5bf1d6bf9d72a29550bf824 (diff)
downloadmandoc-e0c8ee70b0d6b84f57714a5446e2ecfeca8826b4.tar.gz
mdoc(7) already uses the mandoc(1) -Ios argument in the footer line
when .Os has no argument, so do the same for man(7) when .TH has less than four arguments; there is no reason to treat both differently. Issue found following a question from Thomas Klausner <wiz at NetBSD>.
Diffstat (limited to 'libman.h')
-rw-r--r--libman.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libman.h b/libman.h
index d29cfa36..283dafc7 100644
--- a/libman.h
+++ b/libman.h
@@ -23,6 +23,7 @@ enum man_next {
struct man {
struct mparse *parse; /* parse pointer */
+ const char *defos; /* default OS argument for .TH */
int quick; /* abort parse early */
int flags; /* parse flags */
#define MAN_ELINE (1 << 1) /* Next-line element scope. */