[vlc-commits] lua: document the use of -I luaintf instead of -I lua

Pierre Ynard git at videolan.org
Sat Dec 3 22:57:22 CET 2011


vlc/vlc-1.2 | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Sat Dec  3 21:54:03 2011 +0100| [2b51099918a31a351a356b1160b7ae3c4b697267] | committer: Pierre Ynard

lua: document the use of -I luaintf instead of -I lua
(cherry picked from commit 70f556e470b84b5f33aae14446e342a745768f30)

Signed-off-by: Pierre Ynard <linkfanel at yahoo.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=2b51099918a31a351a356b1160b7ae3c4b697267
---

 share/lua/intf/cli.lua      |    2 +-
 share/lua/intf/dummy.lua    |    4 ++--
 share/lua/intf/dumpmeta.lua |    2 +-
 share/lua/intf/luac.lua     |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/share/lua/intf/cli.lua b/share/lua/intf/cli.lua
index c2259a2..4432f2d 100644
--- a/share/lua/intf/cli.lua
+++ b/share/lua/intf/cli.lua
@@ -39,7 +39,7 @@ description=
     vlc -I cli --lua-config "cli={hosts={'*console','localhost:4212','telnet://localhost:5678'}}"
 
  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:
     * hosts: A list of hosts to listen on.
diff --git a/share/lua/intf/dummy.lua b/share/lua/intf/dummy.lua
index 2f21703..bcb7ecc 100644
--- a/share/lua/intf/dummy.lua
+++ b/share/lua/intf/dummy.lua
@@ -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
diff --git a/share/lua/intf/dumpmeta.lua b/share/lua/intf/dumpmeta.lua
index 3e33349..461a822 100644
--- a/share/lua/intf/dumpmeta.lua
+++ b/share/lua/intf/dumpmeta.lua
@@ -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
 --]]
diff --git a/share/lua/intf/luac.lua b/share/lua/intf/luac.lua
index 4c6beb5..bd5c2e5 100644
--- a/share/lua/intf/luac.lua
+++ b/share/lua/intf/luac.lua
@@ -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
 ]]



More information about the vlc-commits mailing list