summaryrefslogtreecommitdiff
path: root/crypto/openssh/mdoc2man.awk
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2017-03-06 01:37:05 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2017-03-06 01:37:05 +0000
commitca86bcf2531c7b149c95244a67853d44323e7855 (patch)
tree23390addad9593662304883efe4cae60bd1670a4 /crypto/openssh/mdoc2man.awk
parent53de37f8ca93019f38b66657ba5f2bf53beff012 (diff)
parent19ca85510bbe080af3faf5e9ae394608428ac953 (diff)
downloadsrc-test2-ca86bcf2531c7b149c95244a67853d44323e7855.tar.gz
src-test2-ca86bcf2531c7b149c95244a67853d44323e7855.zip
Notes
Diffstat (limited to 'crypto/openssh/mdoc2man.awk')
-rw-r--r--crypto/openssh/mdoc2man.awk2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/openssh/mdoc2man.awk b/crypto/openssh/mdoc2man.awk
index 80e8d5ffa1fc..3e8725452ed3 100644
--- a/crypto/openssh/mdoc2man.awk
+++ b/crypto/openssh/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++