summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/options.c b/src/options.c
index 71c65e2..3f405fa 100644
--- a/src/options.c
+++ b/src/options.c
@@ -1,7 +1,7 @@
/* options.c
Copyright (C) 1999-2003 Tom Gilbert.
-Copyright (C) 2010-2020 Daniel Friesel.
+Copyright (C) 2010-2020 Birte Kristina Friesel.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
@@ -419,13 +419,14 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
{"no-xinerama" , 0, 0, OPTION_no_xinerama},
{"draw-tinted" , 0, 0, OPTION_draw_tinted},
{"info" , 1, 0, OPTION_info},
+ {"tap-zones" , 0, 0, OPTION_tap_zones},
{"force-aliasing", 0, 0, OPTION_force_aliasing},
{"no-fehbg" , 0, 0, OPTION_no_fehbg},
{"keep-zoom-vp" , 0, 0, OPTION_keep_zoom_vp},
{"scroll-step" , 1, 0, OPTION_scroll_step},
{"xinerama-index", 1, 0, OPTION_xinerama_index},
{"insecure" , 0, 0, OPTION_insecure},
- {"no-recursive" , 0, 0, OPTION_recursive},
+ {"no-recursive" , 0, 0, OPTION_no_recursive},
{"cache-size" , 1, 0, OPTION_cache_size},
{"on-last-slide" , 1, 0, OPTION_on_last_slide},
{"conversion-timeout" , 1, 0, OPTION_conversion_timeout},
@@ -537,6 +538,8 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
case OPTION_sort:
if (!strcasecmp(optarg, "name"))
opt.sort = SORT_NAME;
+ else if (!strcasecmp(optarg, "none"))
+ opt.sort = SORT_NONE;
else if (!strcasecmp(optarg, "filename"))
opt.sort = SORT_FILENAME;
else if (!strcasecmp(optarg, "dirname"))
@@ -781,6 +784,9 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
opt.draw_info = 1;
}
break;
+ case OPTION_tap_zones:
+ opt.tap_zones = 1;
+ break;
case OPTION_force_aliasing:
opt.force_aliasing = 1;
break;
@@ -976,6 +982,10 @@ static void show_version(void)
"help "
#endif
+#ifdef HAVE_LIBMAGIC
+ "magic "
+#endif
+
#if _FILE_OFFSET_BITS == 64
"stat64 "
#endif