summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.si>2016-07-14 20:04:59 +0200
committerwm4 <wm4@nowhere>2016-07-14 22:37:42 +0200
commit91a1b17104e6417cb2c77c838c85fabcff9e7d11 (patch)
treed6aa52db710cc28d246b94c66b18c6c9172fcd98 /input
parent6e45e1de7778fab39e478f4e05008eb96bbec523 (diff)
downloadmpv-91a1b17104e6417cb2c77c838c85fabcff9e7d11.tar.bz2
mpv-91a1b17104e6417cb2c77c838c85fabcff9e7d11.tar.xz
Use - as command-name separator everywhere
Old-style commands using _ as separator (e.g. show_progress) were still used in some places, including documentation and configuration files. This commit updates all such instances to the new style (show-progress) so that commands are easier to find in the manual.
Diffstat (limited to 'input')
-rw-r--r--input/cmd_list.c2
-rw-r--r--input/event.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/input/cmd_list.c b/input/cmd_list.c
index b5e29aab0e..8cc6210a91 100644
--- a/input/cmd_list.c
+++ b/input/cmd_list.c
@@ -257,7 +257,7 @@ static const struct legacy_cmd legacy_cmds[] = {
{"saturation", "add saturation"},
{"hue", "add hue"},
{"switch_vsync", "cycle vsync"},
- {"sub_load", "sub_add"},
+ {"sub_load", "sub-add"},
{"sub_select", "cycle sub"},
{"sub_pos", "add sub-pos"},
{"sub_delay", "add sub-delay"},
diff --git a/input/event.c b/input/event.c
index 188e800699..76ddae279c 100644
--- a/input/event.c
+++ b/input/event.c
@@ -31,7 +31,7 @@ void mp_event_drop_files(struct input_ctx *ictx, int num_files, char **files,
for (int i = 0; i < num_files; i++) {
const char *cmd[] = {
"osd-auto",
- "sub_add",
+ "sub-add",
files[i],
NULL
};