summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
Diffstat (limited to 'input')
-rw-r--r--input/input.c1
-rw-r--r--input/input.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c
index c366ca76e4..1e2a6e888e 100644
--- a/input/input.c
+++ b/input/input.c
@@ -215,6 +215,7 @@ static const mp_cmd_t mp_cmds[] = {
{ MP_CMD_AF_ADD, "af_add", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } },
{ MP_CMD_AF_DEL, "af_del", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } },
{ MP_CMD_AF_CLR, "af_clr", 0, { {-1,{0}} } },
+ { MP_CMD_AF_CMDLINE, "af_cmdline", 2, { {MP_CMD_ARG_STRING, {0}}, {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } },
{ 0, NULL, 0, {} }
};
diff --git a/input/input.h b/input/input.h
index 7aa5af0f55..51d9f6522e 100644
--- a/input/input.h
+++ b/input/input.h
@@ -156,6 +156,7 @@ typedef enum {
MP_CMD_AF_ADD,
MP_CMD_AF_DEL,
MP_CMD_AF_CLR,
+ MP_CMD_AF_CMDLINE,
} mp_command_type;