From 5990b6281b9d0f7dba0046c3d1f6bd6a4d7ce714 Mon Sep 17 00:00:00 2001 From: guraga Date: Fri, 26 Feb 2016 17:49:46 +0500 Subject: Add option "--no-recursive" Purpose of "--no-recursive" option is disabling effect of "--recursive" option that enabled by user's theme. --- src/options.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/options.c b/src/options.c index 0265156..f5f1242 100644 --- a/src/options.c +++ b/src/options.c @@ -407,6 +407,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun) {"scroll-step" , 1, 0, 238}, {"xinerama-index", 1, 0, 239}, {"insecure" , 0, 0, 240}, + {"no-recursive" , 0, 0, 241}, {0, 0, 0, 0} }; int optch = 0, cmdx = 0; @@ -761,6 +762,8 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun) break; case 240: opt.insecure_ssl = 1; + case 241: + opt.recursive = 0; default: break; } -- cgit v1.2.3