diff options
author | guraga <rulumasi@dodsi.com> | 2016-02-26 17:49:46 +0500 |
---|---|---|
committer | guraga <rulumasi@dodsi.com> | 2016-02-26 17:49:46 +0500 |
commit | 5990b6281b9d0f7dba0046c3d1f6bd6a4d7ce714 (patch) | |
tree | 843d5f9b0acf706064d7458f5a1be0c45135ece0 | |
parent | feeb16ec579217d12de5d197545f7367358edbcd (diff) |
Add option "--no-recursive"
Purpose of "--no-recursive" option is disabling effect of "--recursive" option that enabled by user's theme.
-rw-r--r-- | src/options.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |