aboutsummaryrefslogtreecommitdiff
path: root/networking/wget.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/wget.c')
-rw-r--r--networking/wget.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/networking/wget.c b/networking/wget.c
index b661f727b..e1b40d3fd 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -1387,9 +1387,8 @@ IF_DESKTOP( "no-parent\0" No_argument "\xf0")
1387 1387
1388#if ENABLE_FEATURE_WGET_LONG_OPTIONS 1388#if ENABLE_FEATURE_WGET_LONG_OPTIONS
1389#endif 1389#endif
1390 opt_complementary = "-1" /* at least one URL */ 1390 GETOPT32(argv, "^"
1391 IF_FEATURE_WGET_LONG_OPTIONS(":\xff::"); /* --header is a list */ 1391 "cqSO:P:Y:U:T:+"
1392 GETOPT32(argv, "cqSO:P:Y:U:T:+"
1393 /*ignored:*/ "t:" 1392 /*ignored:*/ "t:"
1394 /*ignored:*/ "n::" 1393 /*ignored:*/ "n::"
1395 /* wget has exactly four -n<letter> opts, all of which we can ignore: 1394 /* wget has exactly four -n<letter> opts, all of which we can ignore:
@@ -1400,6 +1399,9 @@ IF_DESKTOP( "no-parent\0" No_argument "\xf0")
1400 * "n::" above says that we accept -n[ARG]. 1399 * "n::" above says that we accept -n[ARG].
1401 * Specifying "n:" would be a bug: "-n ARG" would eat ARG! 1400 * Specifying "n:" would be a bug: "-n ARG" would eat ARG!
1402 */ 1401 */
1402 "\0"
1403 "-1" /* at least one URL */
1404 IF_FEATURE_WGET_LONG_OPTIONS(":\xff::") /* --header is a list */
1403 LONGOPTS 1405 LONGOPTS
1404 , &G.fname_out, &G.dir_prefix, 1406 , &G.fname_out, &G.dir_prefix,
1405 &G.proxy_flag, &G.user_agent, 1407 &G.proxy_flag, &G.user_agent,