X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/cf451c90a160d8764b5e8ff6b0c1c10d038e59a1..9faa7a88b7419b2d6151ac2c3fa52261c876ee8d:/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 {