wget: move help text to .c file

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2011-03-21 00:37:05 +01:00
parent 625f218d43
commit e2e55b0eb5
2 changed files with 26 additions and 25 deletions

View File

@ -4067,31 +4067,6 @@ INSERT
"\n" \
"\nUse 500ms to specify period in milliseconds" \
#define wget_trivial_usage \
IF_FEATURE_WGET_LONG_OPTIONS( \
"[-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document FILE]\n" \
" [--header 'header: value'] [-Y|--proxy on/off] [-P DIR]\n" \
" [--no-check-certificate] [-U|--user-agent AGENT]" \
IF_FEATURE_WGET_TIMEOUT("[-T SEC] ") " URL" \
) \
IF_NOT_FEATURE_WGET_LONG_OPTIONS( \
"[-csq] [-O FILE] [-Y on/off] [-P DIR] [-U AGENT]" \
IF_FEATURE_WGET_TIMEOUT("[-T SEC] ") " URL" \
)
#define wget_full_usage "\n\n" \
"Retrieve files via HTTP or FTP\n" \
"\nOptions:" \
"\n -s Spider mode - only check file existence" \
"\n -c Continue retrieval of aborted transfer" \
"\n -q Quiet" \
"\n -P DIR Save to DIR (default .)" \
IF_FEATURE_WGET_TIMEOUT( \
"\n -T SEC Network read timeout is SEC seconds" \
) \
"\n -O FILE Save to FILE ('-' for stdout)" \
"\n -U STR Use STR for User-Agent header" \
"\n -Y Use proxy ('on' or 'off')" \
#define which_trivial_usage \
"[COMMAND]..."
#define which_full_usage "\n\n" \