summaryrefslogtreecommitdiffstats
path: root/DOCS/man/mpv.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-04-19 15:31:17 +0200
committerwm4 <wm4@nowhere>2015-04-19 15:31:17 +0200
commit8e0cf9d878cd25977d0de312c5746117fe33c6a9 (patch)
tree0428c1d3b72be064932a9db00df16dcdec2f1d69 /DOCS/man/mpv.rst
parentc96404d8243ffaea958b6d1ab16e73dd0aaf9276 (diff)
downloadmpv-8e0cf9d878cd25977d0de312c5746117fe33c6a9.tar.bz2
mpv-8e0cf9d878cd25977d0de312c5746117fe33c6a9.tar.xz
options: change [...] to balanced quotes
Useful for dealing with libavfilter's terrible graph syntax. Not strictly backwards compatible (for example "[a[b]" fails now - the "[" within the quote is interpreted now). But hopefully it's obscure enough not to warrant any kind of compatibility hacks.
Diffstat (limited to 'DOCS/man/mpv.rst')
-rw-r--r--DOCS/man/mpv.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst
index a2e47a1a6e..ec25d720ff 100644
--- a/DOCS/man/mpv.rst
+++ b/DOCS/man/mpv.rst
@@ -278,7 +278,9 @@ quotes.
The ``[...]`` from of quotes wraps everything between ``[`` and ``]``. It's
useful with shells that don't interpret these characters in the middle of
-an argument (like bash).
+an argument (like bash). These quotes are balanced (since mpv 0.9.0): the ``[``
+and ``]`` nest, and the quote terminates on the last ``]`` that has no matching
+``[`` within the string. (For example, ``[a[b]c]`` results in ``a[b]c``.)
The fixed-length quoting syntax is intended for use with external
scripts and programs.