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 /html.h | |
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 'html.h')
-rw-r--r-- | html.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -101,7 +101,8 @@ struct html { struct tag *tag; /* last open tag */ struct rofftbl tbl; /* current table */ struct tag *tblt; /* current open table scope */ - char *base_man; /* base for manpage href */ + char *base_man1; /* bases for manpage href */ + char *base_man2; char *base_includes; /* base for include href */ char *style; /* style-sheet URI */ struct tag *metaf; /* current open font scope */ |