summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
Diffstat (limited to 'input')
-rw-r--r--input/cmd_list.c1
-rw-r--r--input/input.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/input/cmd_list.c b/input/cmd_list.c
index c5bfbc34aa..982d4f366c 100644
--- a/input/cmd_list.c
+++ b/input/cmd_list.c
@@ -122,6 +122,7 @@ const struct mp_cmd_def mp_cmds[] = {
ARG_STRING,
OARG_CHOICE(0, ({"replace", 0}, {"0", 0},
{"append", 1}, {"1", 1})),
+ OPT_KEYVALUELIST(ARG(str_list), 0),
}},
{ MP_CMD_LOADLIST, "loadlist", {
ARG_STRING,
diff --git a/input/input.h b/input/input.h
index ee66ff6f8a..6e2e0f7046 100644
--- a/input/input.h
+++ b/input/input.h
@@ -75,6 +75,7 @@ struct mp_cmd_arg {
float f;
double d;
char *s;
+ char **str_list;
void *p;
} v;
};