mirror of
https://github.com/curl/curl.git
synced 2026-08-25 02:53:32 +03:00
libcurl-docs: make option lists alpha-sorted
The man pages for curl_easy_getinfo, curl_easy_setopt and curl_multi_setopt now feature the lists of options alphabetically sorted. Test 1139 verify that they are. The curl_multi_setopt page also got brief explanations of the listed options. Closes #14156
This commit is contained in:
parent
fd0250869f
commit
8dab7465a5
4 changed files with 1365 additions and 1450 deletions
|
|
@ -80,6 +80,15 @@ sub scanmdpage {
|
|||
}
|
||||
close($mh);
|
||||
|
||||
my @ms = sort @m;
|
||||
for my $i (0 .. $#m) {
|
||||
if($ms[$i] ne $m[$i]) {
|
||||
print STDERR "$file:1:ERROR: $m[$i] is not alphabetical (expected $ms[$i])\n";
|
||||
$errors++;
|
||||
# no point in reporting many
|
||||
last;
|
||||
}
|
||||
}
|
||||
foreach my $m (@words) {
|
||||
my @g = grep(/$m/, @m);
|
||||
if(!$g[0]) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue