X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/cf451c90a160d8764b5e8ff6b0c1c10d038e59a1..d77d85a66a090304db2359fef1ad7de1707121b4:/scripts/macro-docs diff --git a/scripts/macro-docs b/scripts/macro-docs index 46b2a6e..30ad91f 100755 --- a/scripts/macro-docs +++ b/scripts/macro-docs @@ -40,6 +40,11 @@ for my $m (sort keys %macros) { print ".TP\n"; print ".B $heading\n"; for my $d (@docs) { + if($d =~ /^- /) { + $d = $'; + print ".TP\n"; + print ".B .\n"; + } if($d eq '') { print ".PP\n"; } else {