diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-29 00:32:35 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-29 00:32:35 +0000 |
commit | 540ab7097c2932e8ef9e3bbb6abf5604c05acdde (patch) | |
tree | dfbfbd5a475774bc4babd6fc5b947ca6ec45b25b /networking | |
parent | 259c9a6e9074d6f63790034af78befeca9a74833 (diff) |
wget: "support" -t and -T by ignoring them
Diffstat (limited to 'networking')
-rw-r--r-- | networking/wget.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/networking/wget.c b/networking/wget.c index b45811533..8606b9b38 100644 --- a/networking/wget.c +++ b/networking/wget.c @@ -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) { |