summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorOtto Modinos <ottomodinos@gmail.com>2014-08-25 03:55:48 +0300
committerwm4 <wm4@nowhere>2014-08-25 22:18:25 +0200
commitcc971c06f46ea18048ea2dfd3c31f66b1e675c8f (patch)
tree086741043153a284c837b9ecb169cc3fe43d8804 /DOCS/man
parent6410c4c8efbb659692ef70bc94c1190b9c08117d (diff)
downloadmpv-cc971c06f46ea18048ea2dfd3c31f66b1e675c8f.tar.bz2
mpv-cc971c06f46ea18048ea2dfd3c31f66b1e675c8f.tar.xz
manpage: mention that mp.commandv doesn't expand properties
The little lua snippet at #488 as well as the actual implementation seems to indicate that not expanding properties is indeed the correct behavior. Document that. Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/lua.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst
index 0ab53f0231..1b0f77cead 100644
--- a/DOCS/man/lua.rst
+++ b/DOCS/man/lua.rst
@@ -74,6 +74,10 @@ The ``mp`` module is preloaded, although it can be loaded manually with
These two commands are equivalent, except that the first version breaks
if the filename contains spaces or certain special characters.
+ Note that properties are *not* expanded. You can use either ``mp.command``,
+ the ``expand-properties`` prefix, or the ``mp.get_property`` family of
+ functions.
+
``mp.get_property(name [,def])``
Return the value of the given property as string. These are the same
properties as used in input.conf. See `Properties`_ for a list of