diff options
author | Awal Garg <awalgarg@gmail.com> | 2020-03-30 13:14:18 +0530 |
---|---|---|
committer | Awal Garg <awalgarg@gmail.com> | 2020-03-30 13:14:18 +0530 |
commit | d2311c2332722ac0401e3441d9834c8b02491a82 (patch) | |
tree | 50f902c1b200b6d6552035b1df66eb3bb83d1e36 /src/options.c | |
parent | b89cf18dab68008de86d7461e800aae5e9d515b0 (diff) |
Enable re-using downloaded http cache
Diffstat (limited to 'src/options.c')
-rw-r--r-- | src/options.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |