tests/scripts: call it 'manpage' (single word)

Mostly in comments

Closes #14216
This commit is contained in:
Daniel Stenberg 2024-07-18 00:11:28 +02:00
parent f504db8928
commit 5eba0a4b37
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
9 changed files with 31 additions and 31 deletions

View file

@ -25,7 +25,7 @@
=begin comment
Converts a curldown file to nroff (man page).
Converts a curldown file to nroff (manpage).
=end comment
=cut
@ -394,7 +394,7 @@ sub single {
# convert backslash-'<' or '> to just the second character
$d =~ s/\\([<>])/$1/g;
# mentions of curl symbols with man pages use italics by default
# mentions of curl symbols with manpages use italics by default
$d =~ s/((lib|)curl([^ ]*\(3\)))/\\fI$1\\fP/gi;
# backticked becomes italics

View file

@ -61,7 +61,7 @@ my $globals;
my $indent = 4;
# get the long name version, return the man page string
# get the long name version, return the manpage string
sub manpageify {
my ($k)=@_;
my $l;
@ -319,7 +319,7 @@ sub render {
# remove backticks from headers
$word =~ s/\`//g;
# if there is a space, it needs quotes for man page
# if there is a space, it needs quotes for manpage
if(($word =~ / /) && $manpage) {
$word = "\"$word\"";
}
@ -1096,7 +1096,7 @@ sub mainpage {
.\\" *
.\\" **************************************************************************
.\\"
.\\" DO NOT EDIT. Generated by the curl project managen man page generator.
.\\" DO NOT EDIT. Generated by the curl project managen manpage generator.
.\\"
.TH curl 1 "$date" "curl $version" "curl Manual"
HEADER