summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-12 19:24:30 +0100
committerwm4 <wm4@nowhere>2014-02-12 22:00:07 +0100
commit3abbe31d6bf6705e83151ec1f1bf92ebcf8420b8 (patch)
treeb67ac3d856d6d8286cd155b2923b0f19a62f665c
parent623cffdce93458cc2247c47606dd9af6b88b7606 (diff)
downloadmpv-3abbe31d6bf6705e83151ec1f1bf92ebcf8420b8.tar.bz2
mpv-3abbe31d6bf6705e83151ec1f1bf92ebcf8420b8.tar.xz
manpage: lua: minor fixes
-rw-r--r--DOCS/man/en/lua.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/DOCS/man/en/lua.rst b/DOCS/man/en/lua.rst
index d016e3b7dc..abee054eb9 100644
--- a/DOCS/man/en/lua.rst
+++ b/DOCS/man/en/lua.rst
@@ -40,8 +40,8 @@ The ``mp`` module is preloaded, although it can be loaded manually with
``require 'mp'``. It provides the core client API.
``mp.command(string)``
- Run the command the given command. This is similar to the commands used in
- input.conf. See `List of Input Commands`_.
+ Run the given command. This is similar to the commands used in input.conf.
+ See `List of Input Commands`_.
Returns true on success, or ``nil, error`` on error.
@@ -140,8 +140,8 @@ The ``mp`` module is preloaded, although it can be loaded manually with
Returns a timer handle. See ``mp.cancel_timer``.
``mp.cancel_timer(t)``
- Terminate the given timer. t is the value returned by ``mp.add_timeout``
- or ``mp.add_periodic_timer``.
+ Terminate the given timer. t is a timer handle (value returned by
+ ``mp.add_timeout`` or ``mp.add_periodic_timer``).
``mp.get_opt(key)``
Return a setting from the ``--lua-opts`` option. It's up to the user and