mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:03:37 +03:00
tool_getparam: bsearch cmdline options
- the option names are now alpha sorted and lookup is a lot faster - use case sensitive matching. It was previously case insensitive, but that was not documented nor tested. - remove "partial match" feature. It was not documented, not tested and was always fragile as existing use could break when we add a new option - lookup short options via a table Closes #12631
This commit is contained in:
parent
57cc70e559
commit
07dd60c05b
4 changed files with 343 additions and 336 deletions
|
|
@ -16,7 +16,7 @@ tftp
|
|||
TFTP send
|
||||
</name>
|
||||
<command>
|
||||
-T %LOGDIR/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT// --connect-time 549
|
||||
-T %LOGDIR/test%TESTNUMBER.txt tftp://%HOSTIP:%TFTPPORT// --connect-timeout 549
|
||||
</command>
|
||||
<file name="%LOGDIR/test%TESTNUMBER.txt">
|
||||
a chunk of
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ http
|
|||
Reject too large HTTP response headers on endless redirects
|
||||
</name>
|
||||
<command>
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --max-redir 400 --location
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --max-redirs 400 --location
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue