command: provide per-file-options for loadfile command

Signed-off-by: wm4 <wm4@nowhere>

Closes #575. Minor changes over original pull request.
This commit is contained in:
xylosper
2014-02-22 15:28:05 +09:00
committed by wm4
parent f5c781b0d5
commit bb6b543812
3 changed files with 11 additions and 1 deletions

View File

@@ -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,