From d2311c2332722ac0401e3441d9834c8b02491a82 Mon Sep 17 00:00:00 2001 From: Awal Garg Date: Mon, 30 Mar 2020 13:14:18 +0530 Subject: Enable re-using downloaded http cache --- src/options.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/options.c') diff --git a/src/options.c b/src/options.c index aae10c2..98b3eed 100644 --- a/src/options.c +++ b/src/options.c @@ -431,6 +431,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun) {"auto-reload" , 0, 0, 248}, #endif {"class" , 1, 0, 249}, + {"use-http-cache", 0, 0, 250}, {0, 0, 0, 0} }; int optch = 0, cmdx = 0; @@ -827,6 +828,9 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun) case 249: opt.x11_class = estrdup(optarg); break; + case 250: + opt.use_http_cache = 1; + break; default: break; } -- cgit v1.2.3