diff options
author | wm4 <wm4@nowhere> | 2016-05-09 20:39:33 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-05-09 20:39:33 +0200 |
commit | 73aa7484f23b5fc006d930200b366d5193af9fe3 (patch) | |
tree | 2fa181db032e9742570727d12222b8b4d6d660f3 /DOCS/man/lua.rst | |
parent | 46fff8d31af0b79fe3de4aaee93bb66c248118a0 (diff) | |
download | mpv-73aa7484f23b5fc006d930200b366d5193af9fe3.tar.bz2 mpv-73aa7484f23b5fc006d930200b366d5193af9fe3.tar.xz |
manpage: fix some script_message references to preferred name
Diffstat (limited to 'DOCS/man/lua.rst')
-rw-r--r-- | DOCS/man/lua.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst index 6b2c5af031..35124a788f 100644 --- a/DOCS/man/lua.rst +++ b/DOCS/man/lua.rst @@ -454,9 +454,9 @@ are useful only in special situations. The level is a string, see ``msg.log`` for allowed log levels. ``mp.register_script_message(name, fn)`` - This is a helper to dispatch ``script_message`` or ``script_message_to`` - invocations to Lua functions. ``fn`` is called if ``script_message`` or - ``script_message_to`` (with this script as destination) is run + This is a helper to dispatch ``script-message`` or ``script-message-to`` + invocations to Lua functions. ``fn`` is called if ``script-message`` or + ``script-message-to`` (with this script as destination) is run with ``name`` as first parameter. The other parameters are passed to ``fn``. If a message with the given name is already registered, it's overwritten. |