managen: introduce "Multi: per-URL"

For -O, -o and -T that are used once per specified URL.

Closes #14045
This commit is contained in:
Daniel Stenberg 2024-06-27 22:54:28 +02:00
parent 9acf759455
commit 2d3a51e367
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
5 changed files with 11 additions and 4 deletions

View file

@ -704,6 +704,11 @@ sub single {
elsif($multi eq "custom") {
; # left for the text to describe
}
elsif($multi eq "per-URL") {
push @extra,
"${pre}--$long is associated with a single URL. Use it once per URL\n".
"when you use several URLs in a command line.\n";
}
else {
print STDERR "$f:$line:1:ERROR: unrecognized Multi: '$multi'\n";
return 2;