diff options
author | ulteq <ulteq@web.de> | 2018-01-01 15:37:32 +0100 |
---|---|---|
committer | ulteq <ulteq@web.de> | 2018-08-24 11:40:56 +0200 |
commit | f3ea5c887e034f08d2735c7a32876f94ee9ef60a (patch) | |
tree | 39d9b9f7ce1c13f7528a15d59db45645ff0b18ed /src/options.c | |
parent | fd66a0f2a1352de36fa81004325df1040d1cde98 (diff) |
Add --no-cycle option
Closes: #124
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 af0f07d..1a47a39 100644 --- a/src/options.c +++ b/src/options.c @@ -415,6 +415,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun) {"insecure" , 0, 0, 240}, {"no-recursive" , 0, 0, 241}, {"cache-size" , 1, 0, 243}, + {"no-cycle" , 0, 0, 244}, {"conversion-timeout" , 1, 0, 245}, {"version-sort" , 0, 0, 246}, {"offset" , 1, 0, 247}, @@ -785,6 +786,9 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun) if (opt.cache_size > 2048) opt.cache_size = 2048; break; + case 244: + opt.no_cycle = 1; + break; case 245: opt.conversion_timeout = atoi(optarg); break; |