diff options
author | Damien Miller <djm@mindrot.org> | 2016-09-27 23:40:33 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2016-09-27 23:40:33 +0200 |
commit | 8663e51c80c6aa3d750c6d3bcff6ee05091922be (patch) | |
tree | 4b5a2e8f591438aef78896722204b4945bc249a0 /mdoc2man.awk | |
parent | upstream commit (diff) | |
download | openssh-8663e51c80c6aa3d750c6d3bcff6ee05091922be.tar.xz openssh-8663e51c80c6aa3d750c6d3bcff6ee05091922be.zip |
fix mdoc2man.awk formatting for top-level lists
Reported by Glenn Golden
Diagnosis and fix from Ingo Schwarze
Diffstat (limited to 'mdoc2man.awk')
-rw-r--r-- | mdoc2man.awk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mdoc2man.awk b/mdoc2man.awk index 80e8d5ffa..3e8725452 100644 --- a/mdoc2man.awk +++ b/mdoc2man.awk @@ -321,6 +321,8 @@ function add(str) { w=nwords } else if(match(words[w],"^El$")) { optlist=oldoptlist + if(!optlist) + add(".PP") } else if(match(words[w],"^Bk$")) { if(match(words[w+1],"-words")) { w++ |