X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fmain.c;h=b80eef0a9484b324a199e1a58db4683fd2d26df0;hp=2c4dab25521a6265cc0600e8e72bc288ec07f2f1;hb=fce4e757a20230a44e6b4267d8e7386ffcaf6eef;hpb=2223ac8ce31ecd80112a023d0d56229bfc026b01 diff --git a/src/main.c b/src/main.c index 2c4dab25..b80eef0a 100644 --- a/src/main.c +++ b/src/main.c @@ -178,6 +178,7 @@ static struct cmdline_option option_data[] = { "continue", 'c', OPT_BOOLEAN, "continue", -1 }, { "convert-links", 'k', OPT_BOOLEAN, "convertlinks", -1 }, { "content-disposition", 0, OPT_BOOLEAN, "contentdisposition", -1 }, + { "content-on-error", 0, OPT_BOOLEAN, "contentonerror", -1 }, { "cookies", 0, OPT_BOOLEAN, "cookies", -1 }, { "cut-dirs", 0, OPT_VALUE, "cutdirs", -1 }, { WHEN_DEBUG ("debug"), 'd', OPT_BOOLEAN, "debug", -1 }, @@ -594,6 +595,8 @@ HTTP options:\n"), N_("\ --content-disposition honor the Content-Disposition header when\n\ choosing local file names (EXPERIMENTAL).\n"), + N_("\ + --content-on-error output the received content on server errors.\n"), N_("\ --auth-no-challenge send Basic HTTP authentication information\n\ without first waiting for the server's\n\