X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/cf451c90a160d8764b5e8ff6b0c1c10d038e59a1..1a3dba678a4edf1df3d7de2cc29f8e32d6fea080:/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 {