diff options
author | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-09-05 14:46:07 +0000 |
---|---|---|
committer | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-09-05 14:46:07 +0000 |
commit | 27421a1878847389391c1a43420baaccf57057a7 (patch) | |
tree | 73e57d430a5828d242b78deb0a591a99f0df44a9 /networking | |
parent | bef14d7a878049a01f1fb9b412611a2d64c2b154 (diff) | |
download | busybox-w32-27421a1878847389391c1a43420baaccf57057a7.tar.gz busybox-w32-27421a1878847389391c1a43420baaccf57057a7.tar.bz2 busybox-w32-27421a1878847389391c1a43420baaccf57057a7.zip |
1) bb_opt_complementaly -> bb_opt_complementally
2) better support long options
3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally
Diffstat (limited to 'networking')
-rw-r--r-- | networking/wget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/wget.c b/networking/wget.c index 59f30c06d..0a4ccaddd 100644 --- a/networking/wget.c +++ b/networking/wget.c | |||
@@ -191,7 +191,7 @@ int wget_main(int argc, char **argv) | |||
191 | /* | 191 | /* |
192 | * Crack command line. | 192 | * Crack command line. |
193 | */ | 193 | */ |
194 | bb_opt_complementaly = "\203*"; | 194 | bb_opt_complementally = "\203*"; |
195 | bb_applet_long_options = wget_long_options; | 195 | bb_applet_long_options = wget_long_options; |
196 | opt = bb_getopt_ulflags(argc, argv, "cq\213O:\203:P:Y:", &fname_out, &headers_llist, &dir_prefix, &proxy_flag); | 196 | opt = bb_getopt_ulflags(argc, argv, "cq\213O:\203:P:Y:", &fname_out, &headers_llist, &dir_prefix, &proxy_flag); |
197 | if (opt & WGET_OPT_CONTINUE) { | 197 | if (opt & WGET_OPT_CONTINUE) { |