diff options
author | Dennis Real <github@tildepipe.org> | 2012-03-16 19:13:47 +0100 |
---|---|---|
committer | Dennis Real <github@tildepipe.org> | 2012-03-16 19:13:47 +0100 |
commit | 8e96382805eb77a82209df9d71dbf9c0dd1c4cdb (patch) | |
tree | 48c54b9715d88cb6e9f8455d689364b73b842f8f /src/options.c | |
parent | 77fa5aca182435f2771511832ea198d027393ceb (diff) | |
parent | 29cd868898660c58b1925bf3647c4c63b7bd3151 (diff) |
Merge branch 'master' of git://github.com/derf/feh
Diffstat (limited to 'src/options.c')
-rw-r--r-- | src/options.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c index f389e0e..a277003 100644 --- a/src/options.c +++ b/src/options.c @@ -53,6 +53,7 @@ void init_parse_options(int argc, char **argv) opt.display = 1; opt.aspect = 1; opt.slideshow_delay = 0.0; + opt.magick_timeout = 10; opt.thumb_w = 60; opt.thumb_h = 60; opt.thumb_redraw = 10; @@ -378,6 +379,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun) {"zoom" , 1, 0, 205}, {"no-screen-clip", 0, 0, 206}, {"index-info" , 1, 0, 207}, + {"magick-timeout", 1, 0, 208}, {"caption-path" , 1, 0, 'K'}, {"action1" , 1, 0, 209}, {"action2" , 1, 0, 210}, @@ -646,6 +648,9 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun) case 207: opt.index_info = estrdup(optarg); break; + case 208: + opt.magick_timeout = atoi(optarg); + break; case 'K': opt.caption_path = estrdup(optarg); break; |