summaryrefslogtreecommitdiffstats
path: root/input/cmd_list.c
diff options
context:
space:
mode:
Diffstat (limited to 'input/cmd_list.c')
-rw-r--r--input/cmd_list.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/input/cmd_list.c b/input/cmd_list.c
index b1db2e4f0c..250f451955 100644
--- a/input/cmd_list.c
+++ b/input/cmd_list.c
@@ -166,6 +166,12 @@ const struct mp_cmd_def mp_cmds[] = {
{"exclusive", 1})),
}},
{ MP_CMD_DISABLE_INPUT_SECTION, "disable-section", { ARG_STRING } },
+ { MP_CMD_DEFINE_INPUT_SECTION, "define-section", {
+ ARG_STRING,
+ ARG_STRING,
+ OARG_CHOICE(1, ({"default", 1},
+ {"force", 0})),
+ }},
{ MP_CMD_AB_LOOP, "ab-loop", },