Commit 70f556e4 authored by Pierre Ynard's avatar Pierre Ynard

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

parent 1630833f
......@@ -39,7 +39,7 @@ description=
vlc -I cli --lua-config "cli={hosts={'*console','localhost:4212','telnet://localhost:5678'}}"
-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:
* hosts: A list of hosts to listen on.
......@@ -4,8 +4,8 @@ msg = [[
This is the `dummy' VLC Lua interface module.
Please specify a VLC Lua interface to load with the --lua-intf option.
VLC Lua interface modules include: `rc', `telnet' and `http'.
For example: vlc -I lua --lua-intf rc
You can also use the alternate syntax: vlc -I "lua{intf=rc}"
For example: vlc -I luaintf --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.]]
for line in string.gmatch(msg,"([^\n]+)\n*") do
......@@ -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:
vlc -I lua --lua-intf dumpmeta coolmusic.mp3
vlc -I luaintf --lua-intf dumpmeta coolmusic.mp3
Additional options can improve performance and output readability:
-V dummy -A dummy --no-video-title --no-media-library --verbose-objects +lua,-all -v=0
......@@ -24,7 +24,7 @@
usage =
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:
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