mirror of
https://github.com/curl/curl.git
synced 2026-08-25 21:03:34 +03:00
tool_getparam: make --url support a file with URLs
It implies -O used for each URL. Mention in the --url documentation. Test 488 and 489 verify. Closes #16099
This commit is contained in:
parent
5addb3e1cc
commit
6306476fc3
8 changed files with 238 additions and 36 deletions
|
|
@ -1889,7 +1889,7 @@ static CURLcode single_transfer(struct GlobalConfig *global,
|
|||
}
|
||||
|
||||
if(!state->urlnum) {
|
||||
if(!config->globoff) {
|
||||
if(!config->globoff && !(urlnode->flags & GETOUT_NOGLOB)) {
|
||||
/* Unless explicitly shut off, we expand '{...}' and '[...]'
|
||||
expressions and return total number of URLs in pattern set */
|
||||
result = glob_url(&state->urls, urlnode->url, &state->urlnum,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue