mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:53:37 +03:00
tool: support fractions for --limit-rate and --max-filesize
Allow 2.5k or 3.7M etc. Add mention in documentation. Verify in test case 1623. Closes #20266
This commit is contained in:
parent
6aaac9dd38
commit
6d6899c2f0
8 changed files with 250 additions and 48 deletions
|
|
@ -375,6 +375,7 @@ ParameterError getparameter(const char *flag, const char *nextarg,
|
|||
ParameterError parse_cert_parameter(const char *cert_parameter,
|
||||
char **certname,
|
||||
char **passphrase);
|
||||
UNITTEST ParameterError GetSizeParameter(const char *arg, curl_off_t *out);
|
||||
#endif
|
||||
|
||||
ParameterError parse_args(int argc, argv_item_t argv[]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue