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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/input/cmd_list.c b/input/cmd_list.c
index 844a833092..fc0ef17ed5 100644
--- a/input/cmd_list.c
+++ b/input/cmd_list.c
@@ -69,7 +69,9 @@ const struct mp_cmd_def mp_cmds[] = {
},
.allow_auto_repeat = true,
},
- { MP_CMD_REVERT_SEEK, "revert_seek", },
+ { MP_CMD_REVERT_SEEK, "revert_seek", {
+ OARG_CHOICE(0, ({"-", 0}, {"mark", 1})),
+ }},
{ MP_CMD_QUIT, "quit", { OARG_INT(0) } },
{ MP_CMD_QUIT_WATCH_LATER, "quit_watch_later", { OARG_INT(0) } },
{ MP_CMD_STOP, "stop", },