X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fmain.c;h=ab1786d7695fc9fdc6915c729344b5e2ff939c38;hp=9a30bbf7aa289cbd1c6f59091e993b6372a210a5;hb=10da871ac441fe99f5d20dd8f1e9ec3797c0a5a2;hpb=01346093a8c1f532a3fb8019f678c4926903a1c3 diff --git a/src/main.c b/src/main.c index 9a30bbf7..ab1786d7 100644 --- a/src/main.c +++ b/src/main.c @@ -189,6 +189,7 @@ static struct cmdline_option option_data[] = { "level", 'l', OPT_VALUE, "reclevel", -1 }, { "limit-rate", 0, OPT_VALUE, "limitrate", -1 }, { "load-cookies", 0, OPT_VALUE, "loadcookies", -1 }, + { "max-redirect", 0, OPT_VALUE, "maxredirect", -1 }, { "mirror", 'm', OPT_BOOLEAN, "mirror", -1 }, { "no", 'n', OPT__NO, NULL, required_argument }, { "no-clobber", 0, OPT_BOOLEAN, "noclobber", -1 }, @@ -496,6 +497,8 @@ HTTP options:\n"), --ignore-length ignore `Content-Length' header field.\n"), N_("\ --header=STRING insert STRING among the headers.\n"), + N_("\ + --max-redirect maximum redirections allowed per page.\n"), N_("\ --proxy-user=USER set USER as proxy username.\n"), N_("\