From: Russ Allbery Date: Tue, 1 Jul 2008 00:12:31 +0000 (+0000) Subject: STABLE14-man-page-html-index-20080630 X-Git-Tag: openafs-stable-1_4_8pre1~59 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=8b1a7a213947a7a7bce6be9ebba193360683a897;p=packages%2Fo%2Fopenafs.git STABLE14-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. (cherry picked from commit 9b61f58fa78259eb092350599a0a26d75ac14fa8) --- diff --git a/doc/man-pages/generate-html b/doc/man-pages/generate-html index e4ccd1366..11d47c698 100755 --- a/doc/man-pages/generate-html +++ b/doc/man-pages/generate-html @@ -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 ]);