wget: ignore --no-check-certificate
Used in a number of scripts, don't barf on it (we don't do ssl ATM). function old new delta static.wget_longopts 122 145 +23 .rodata 131925 131947 +22 packed_usage 26860 26859 -1 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 45/-1) Total: 44 bytes Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
This commit is contained in:
parent
10544a8410
commit
3fdba181c3
@ -5083,7 +5083,7 @@
|
|||||||
IF_FEATURE_WGET_LONG_OPTIONS( \
|
IF_FEATURE_WGET_LONG_OPTIONS( \
|
||||||
"[-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document file]\n" \
|
"[-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document file]\n" \
|
||||||
" [--header 'header: value'] [-Y|--proxy on/off] [-P DIR]\n" \
|
" [--header 'header: value'] [-Y|--proxy on/off] [-P DIR]\n" \
|
||||||
" [-U|--user-agent agent] url" \
|
" [--no-check-certificate] [-U|--user-agent agent] url" \
|
||||||
) \
|
) \
|
||||||
IF_NOT_FEATURE_WGET_LONG_OPTIONS( \
|
IF_NOT_FEATURE_WGET_LONG_OPTIONS( \
|
||||||
"[-csq] [-O file] [-Y on/off] [-P DIR] [-U agent] url" \
|
"[-csq] [-O file] [-Y on/off] [-P DIR] [-U agent] url" \
|
||||||
|
@ -546,6 +546,8 @@ int wget_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
"passive-ftp\0" No_argument "\xff"
|
"passive-ftp\0" No_argument "\xff"
|
||||||
"header\0" Required_argument "\xfe"
|
"header\0" Required_argument "\xfe"
|
||||||
"post-data\0" Required_argument "\xfd"
|
"post-data\0" Required_argument "\xfd"
|
||||||
|
/* Ignored (we don't do ssl) */
|
||||||
|
"no-check-certificate\0" No_argument "\xfc"
|
||||||
;
|
;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user