asciidoc-pmg.in: correctly strip service names

This commit is contained in:
Dietmar Maurer 2017-02-23 07:47:44 +01:00
parent 43a4977702
commit 8e976f4c43

View File

@ -605,7 +605,7 @@ if ($clicmd eq 'compile-wiki') {
die "not title for '$manpage'";
# hack - remove command name prefix from titles
$title =~ s/^[a-z]+\s*-\s*//;
$title =~ s/^[a-z_\-]+\s+-\s*//;
my $target = $filelist->{$manpage};
print "|$mantitle 3+|$title|link:$target.html\[$target\]\n";