]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-man-page-html-index-20080630
authorRuss Allbery <rra@stanford.edu>
Tue, 1 Jul 2008 00:12:31 +0000 (00:12 +0000)
committerRuss Allbery <rra@stanford.edu>
Tue, 1 Jul 2008 00:12:31 +0000 (00:12 +0000)
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.

(cherry picked from commit 9b61f58fa78259eb092350599a0a26d75ac14fa8)

doc/man-pages/generate-html

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