summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
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 e2ccc74..182f3d8 100644
--- a/src/options.c
+++ b/src/options.c
@@ -423,6 +423,7 @@ static void feh_parse_option_array(int argc, char **argv)
{"index-dim" , 1, 0, 232},
{"thumb-redraw" , 1, 0, 'J'},
{"action-hold-slide", 0, 0, 233},
+ {"info" , 1, 0, 234},
{0, 0, 0, 0}
};
@@ -772,6 +773,9 @@ static void feh_parse_option_array(int argc, char **argv)
case 233:
opt.action_hold_slide = 1;
break;
+ case 234:
+ opt.info_cmd = estrdup(optarg);
+ break;
default:
break;
}