mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
wget: "support" -t and -T by ignoring them
This commit is contained in:
parent
259c9a6e90
commit
540ab7097c
@ -449,9 +449,11 @@ int wget_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||
#endif
|
||||
/* server.allocated = target.allocated = NULL; */
|
||||
opt_complementary = "-1" USE_FEATURE_WGET_LONG_OPTIONS(":\xfe::");
|
||||
opt = getopt32(argv, "csqO:P:Y:U:",
|
||||
opt = getopt32(argv, "csqO:P:Y:U:" /*ignored:*/ "t:T:",
|
||||
&fname_out, &dir_prefix,
|
||||
&proxy_flag, &user_agent
|
||||
&proxy_flag, &user_agent,
|
||||
NULL, /* -t RETRIES */
|
||||
NULL /* -T NETWORK_READ_TIMEOUT */
|
||||
USE_FEATURE_WGET_LONG_OPTIONS(, &headers_llist)
|
||||
);
|
||||
if (strcmp(proxy_flag, "off") == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user