mirror of
https://github.com/curl/curl.git
synced 2026-08-26 01:33:33 +03:00
tool_getparam: Added initial support for --next/-:
Added initial support for --next/-: which will be used to replace the rather confusing : command line operation what was used for the URL specific options prototype.
This commit is contained in:
parent
3228deff40
commit
1a9b58fcb2
4 changed files with 11 additions and 0 deletions
|
|
@ -267,6 +267,7 @@ static const struct LongShort aliases[]= {
|
|||
{"y", "speed-time", TRUE},
|
||||
{"z", "time-cond", TRUE},
|
||||
{"#", "progress-bar", FALSE},
|
||||
{":", "next", FALSE},
|
||||
{"~", "xattr", FALSE},
|
||||
};
|
||||
|
||||
|
|
@ -986,6 +987,8 @@ ParameterError getparameter(char *flag, /* f or -long-flag */
|
|||
else
|
||||
config->progressmode = CURL_PROGRESS_STATS;
|
||||
break;
|
||||
case ':': /* --next */
|
||||
return PARAM_NEXT_OPERATION;
|
||||
case '~': /* --xattr */
|
||||
config->xattr = toggle;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue