diff options
author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2014-12-15 01:31:30 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-15 04:39:56 +0100 |
commit | 39e04e929483847a3e0722d86d53f69837ed99db (patch) | |
tree | 56901ce1b9d1cb35f05d3e059d2aca83319491ff /player/lua/defaults.lua | |
parent | 06828f71a134e0b880601665c0daea78e6523633 (diff) | |
download | mpv-39e04e929483847a3e0722d86d53f69837ed99db.tar.bz2 mpv-39e04e929483847a3e0722d86d53f69837ed99db.tar.xz |
options: deprecate 'lua' based options/dirs for 'script'
- --lua and --lua-opts change to --script and --script-opts
- 'lua' default script dirs change to 'scripts'
- DOCS updated
- 'lua-settings' dir was _not_ modified
The old lua-based names/dirs still work, but display a warning.
Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'player/lua/defaults.lua')
-rw-r--r-- | player/lua/defaults.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua/defaults.lua b/player/lua/defaults.lua index bb4eb648ce..4cdeef497f 100644 --- a/player/lua/defaults.lua +++ b/player/lua/defaults.lua @@ -14,7 +14,7 @@ function mp.get_script_name() end function mp.get_opt(key, def) - local opts = mp.get_property_native("options/lua-opts") + local opts = mp.get_property_native("options/script-opts") local val = opts[key] if val == nil then val = def |