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/input.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/input.rst')
-rw-r--r-- | DOCS/man/input.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 7b525d7aa8..2c434b17bb 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -634,10 +634,10 @@ Input Commands that are Possibly Subject to Change Send a message to all clients, and pass it the following list of arguments. What this message means, how many arguments it takes, and what the arguments mean is fully up to the receiver and the sender. Every client receives the - message, so be careful about name clashes (or use ``script_message_to``). + message, so be careful about name clashes (or use ``script-message-to``). ``script-message-to "<target>" "<arg1>" "<arg2>" ...`` - Same as ``script_message``, but send it only to the client named + Same as ``script-message``, but send it only to the client named ``<target>``. Each client (scripts etc.) has a unique name. For example, Lua scripts can get their name via ``mp.get_script_name()``. @@ -651,8 +651,8 @@ Input Commands that are Possibly Subject to Change separator, e.g. ``script_binding scriptname/bindingname``. For completeness, here is how this command works internally. The details - could change any time. On any matching key event, ``script_message_to`` - or ``script_message`` is called (depending on whether the script name is + could change any time. On any matching key event, ``script-message-to`` + or ``script-message`` is called (depending on whether the script name is included), with the following arguments: 1. The string ``key-binding``. |