diff options
author | wm4 <wm4@nowhere> | 2015-05-25 21:59:44 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-05-25 21:59:44 +0200 |
commit | 289705daaf2986cedd0a1ae994aeda73c4b4249e (patch) | |
tree | b1062e4a31fc7f8b734046e7cd9c54697193de7a /input/input.c | |
parent | 6bfbd4ebdcadd5c94e4e47ba9712bf550293274f (diff) | |
download | mpv-289705daaf2986cedd0a1ae994aeda73c4b4249e.tar.bz2 mpv-289705daaf2986cedd0a1ae994aeda73c4b4249e.tar.xz |
input: allow - as separator between commands, instead of _
Wnile it seems quite logical to me that commands use _ as word
separator, while properties use -, I can't really explain the
difference, and it tends to confuse users as well. So always
prefer - as separator for everything.
Using _ still works, and will probably forever. Not doing so would
probably create too much chaos and confusion.
Diffstat (limited to 'input/input.c')
-rw-r--r-- | input/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/input/input.c b/input/input.c index 1a6931a12a..29d5b7831e 100644 --- a/input/input.c +++ b/input/input.c @@ -319,7 +319,7 @@ static mp_cmd_t *handle_test(struct input_ctx *ictx, int code) msg = talloc_asprintf_append(msg, "(nothing)"); MP_INFO(ictx, "%s\n", msg); - const char *args[] = {"show_text", msg, NULL}; + const char *args[] = {"show-text", msg, NULL}; mp_cmd_t *res = mp_input_parse_cmd_strv(ictx->log, args); talloc_free(msg); return res; |