man-page-html-index-20080630

LICENSE BSD

Use the correct subcommand name (fs getacl instead of fs_getacl) on the
HTML index page, even though we have to use the underscore in the NAME
section of the actual POD documentation.
This commit is contained in:
Russ Allbery 2008-06-30 23:35:18 +00:00
parent 9f94f89a7a
commit 9b61f58fa7

View File

@ -100,6 +100,7 @@ sub scan_names {
unless ($name) { unless ($name) {
warn "$dir/$file: cannot find NAME section, skipping\n"; warn "$dir/$file: cannot find NAME section, skipping\n";
} }
$name =~ s/^(backup|bos|fs|fstrace|kas|pts|symlink|uss|vos)_/$1 /;
my $page = $file; my $page = $file;
$page =~ s/\.pod$//; $page =~ s/\.pod$//;
push (@index, [ $section, $name, $page, $desc ]); push (@index, [ $section, $name, $page, $desc ]);