diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-10-02 12:33:36 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-10-02 12:33:36 +0000 |
commit | 9e238facdedce54e6eeccb030929d4b3893df873 (patch) | |
tree | af1153e654b28c1021d8c3934f87d6691336566e /mdoc_html.c | |
parent | 2b5f7b1a9ecbfb46e4d111a73e873c9ac394f261 (diff) | |
download | mandoc-9e238facdedce54e6eeccb030929d4b3893df873.tar.gz |
Support a second argument to -O man,
selecting the format according to local existence of the file.
Suggested by kristaps@ during EuroBSDCon 2018.
Written on the train Frankfurt-Karlsruhe returning from EuroBSDCon.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r-- | mdoc_html.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c index 7974605e..c66160df 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -611,7 +611,7 @@ mdoc_xr_pre(MDOC_ARGS) if (NULL == n->child) return 0; - if (h->base_man) + if (h->base_man1) print_otag(h, TAG_A, "cThM", "Xr", n->child->string, n->child->next == NULL ? NULL : n->child->next->string); |