mirror of
https://github.com/curl/curl.git
synced 2026-07-15 19:47:16 +03:00
CURLOPT_COOKIELIST.3: fix formatting mistake
Also, updated manpage-syntax.pl to make it detect this error in test 1173. Reported-by: ProceduralMan on github Fixes #9639 Closes #9640
This commit is contained in:
parent
2b309560c1
commit
90ddfa465b
2 changed files with 9 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ online here: https://curl.se/docs/http-cookies.html
|
|||
|
||||
\fBFLUSH\fP was added in 7.17.1
|
||||
|
||||
\fFRELOAD\fP was added in 7.39.0
|
||||
\fBRELOAD\fP was added in 7.39.0
|
||||
.SH RETURN VALUE
|
||||
Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
|
||||
CURLE_OUT_OF_MEMORY if there was insufficient heap space.
|
||||
|
|
|
|||
|
|
@ -163,6 +163,14 @@ sub scanmanpage {
|
|||
$errors++;
|
||||
}
|
||||
}
|
||||
if($_ =~ /(.*)\\f([^BIP])/) {
|
||||
my ($pre, $format) = ($1, $2);
|
||||
if($pre !~ /\\\z/) {
|
||||
# only if there wasn't another backslash before the \f
|
||||
print STDERR "$file:$line suspicios \\f format!\n";
|
||||
$errors++;
|
||||
}
|
||||
}
|
||||
if($optpage && $SH && ($SH !~ /^(SYNOPSIS|EXAMPLE|NAME|SEE ALSO)/i) &&
|
||||
($_ =~ /(.*)(CURL(OPT_|MOPT_|INFO_)[A-Z0-9_]*)/)) {
|
||||
# an option with its own man page, check that it is tagged
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue