summaryrefslogtreecommitdiffstats
path: root/TOOLS
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 /TOOLS
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 'TOOLS')
-rw-r--r--TOOLS/lua/autoload.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/TOOLS/lua/autoload.lua b/TOOLS/lua/autoload.lua
index 1f22bb40e2..fa56a3de4c 100644
--- a/TOOLS/lua/autoload.lua
+++ b/TOOLS/lua/autoload.lua
@@ -25,7 +25,7 @@ function add_files_at(index, files)
local oldcount = mp.get_property_number("playlist-count", 1)
for i = 1, #files do
mp.commandv("loadfile", files[i], "append")
- mp.commandv("playlist_move", oldcount + i - 1, index + i - 1)
+ mp.commandv("playlist-move", oldcount + i - 1, index + i - 1)
end
end