diff options
author | Elliot Wolk <elliot.wolk@gmail.com> | 2016-10-29 14:05:36 -0400 |
---|---|---|
committer | Elliot Wolk <elliot.wolk@gmail.com> | 2016-10-29 14:14:45 -0400 |
commit | 868fdddb3882036ed5676ebb8192f95dd0708752 (patch) | |
tree | 8323bcf34eff85615e4d2c37eda9e415faec7cf7 /src/options.c | |
parent | 465238bdddb11d00926dcaa76ffe2f59fb536df5 (diff) |
add cmdline opt --auto-rotate to rotate according to EXIF info
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 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; |