summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-10-30 10:40:58 +0100
committerDaniel Friesel <derf@finalrewind.org>2016-10-30 10:40:58 +0100
commita7ba235e228d1b451c92dc6af5564d6a777229a5 (patch)
treed2cd40aabfffc49817ac86e4f5740bec0d8a0bc2 /src/options.c
parentc6752c190fb54252d9f808e179bfee28f7bf3f0d (diff)
parentf850bc191dbac45cdd3f39548b65a0f0e390bbb8 (diff)
Merge branch 'teleshoes-autorotate'
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c
index 9e2ff5a..56323a8 100644
--- a/src/options.c
+++ b/src/options.c
@@ -396,6 +396,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
{"no-jump-on-resort", 0, 0, 220},
#ifdef HAVE_LIBEXIF
{"draw-exif" , 0, 0, 223},
+ {"auto-rotate" , 0, 0, 242},
#endif
{"cycle-once" , 0, 0, 224},
{"no-xinerama" , 0, 0, 225},
@@ -730,6 +731,9 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
case 223:
opt.draw_exif = 1;
break;
+ case 242:
+ opt.auto_rotate = 1;
+ break;
#endif
case 224:
opt.cycle_once = 1;