Commit 2b510999 authored by Pierre Ynard's avatar Pierre Ynard

lua: document the use of -I luaintf instead of -I lua

(cherry picked from commit 70f556e4)
Signed-off-by: default avatarPierre Ynard <linkfanel@yahoo.fr>
parent 2392e243
...@@ -39,7 +39,7 @@ description= ...@@ -39,7 +39,7 @@ description=
vlc -I cli --lua-config "cli={hosts={'*console','localhost:4212','telnet://localhost:5678'}}" vlc -I cli --lua-config "cli={hosts={'*console','localhost:4212','telnet://localhost:5678'}}"
Note: Note:
-I cli and -I luacli are aliases for -I lua --lua-intf cli -I cli and -I luacli are aliases for -I luaintf --lua-intf cli
Configuration options setable throught the --lua-config option are: Configuration options setable throught the --lua-config option are:
* hosts: A list of hosts to listen on. * hosts: A list of hosts to listen on.
......
...@@ -4,8 +4,8 @@ msg = [[ ...@@ -4,8 +4,8 @@ msg = [[
This is the `dummy' VLC Lua interface module. This is the `dummy' VLC Lua interface module.
Please specify a VLC Lua interface to load with the --lua-intf option. Please specify a VLC Lua interface to load with the --lua-intf option.
VLC Lua interface modules include: `rc', `telnet' and `http'. VLC Lua interface modules include: `rc', `telnet' and `http'.
For example: vlc -I lua --lua-intf rc For example: vlc -I luaintf --lua-intf rc
You can also use the alternate syntax: vlc -I "lua{intf=rc}" You can also use the alternate syntax: vlc -I "luaintf{intf=rc}"
See share/lua/intf/README.txt for more information about lua interface modules.]] See share/lua/intf/README.txt for more information about lua interface modules.]]
for line in string.gmatch(msg,"([^\n]+)\n*") do for line in string.gmatch(msg,"([^\n]+)\n*") do
......
...@@ -22,7 +22,7 @@ dumpmeta.lua: dump a file's meta data on stdout/stderr ...@@ -22,7 +22,7 @@ dumpmeta.lua: dump a file's meta data on stdout/stderr
--]==========================================================================] --]==========================================================================]
--[[ to dump meta data information in the debug output, run: --[[ to dump meta data information in the debug output, run:
vlc -I lua --lua-intf dumpmeta coolmusic.mp3 vlc -I luaintf --lua-intf dumpmeta coolmusic.mp3
Additional options can improve performance and output readability: Additional options can improve performance and output readability:
-V dummy -A dummy --no-video-title --no-media-library --verbose-objects +lua,-all -v=0 -V dummy -A dummy --no-video-title --no-media-library --verbose-objects +lua,-all -v=0
--]] --]]
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
usage = usage =
[[ [[
To compile a lua script to bytecode (luac) run: To compile a lua script to bytecode (luac) run:
vlc -I lua --lua-intf --lua-config 'luac={input="file.lua",output="file.luac"}' vlc -I luaintf --lua-intf --lua-config 'luac={input="file.lua",output="file.luac"}'
Output will be similar to that of the luac command line tool provided with lua with the following arguments: Output will be similar to that of the luac command line tool provided with lua with the following arguments:
luac -o file.luac file.lua luac -o file.luac file.lua
]] ]]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment