mirror of
https://github.com/curl/curl.git
synced 2026-05-30 08:27:28 +03:00
tests/scripts: call it 'manpage' (single word)
Mostly in comments Closes #14216
This commit is contained in:
parent
f504db8928
commit
5eba0a4b37
9 changed files with 31 additions and 31 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue