summaryrefslogtreecommitdiffstats
path: root/DOCS/man/mpv.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-12-18 06:31:39 +0100
committerwm4 <wm4@nowhere>2019-12-18 06:31:39 +0100
commit0a1588d39b2c30421909c87e60b1510ffd338497 (patch)
tree25a2bdc80cfad1d9b57099b439ddf5a38f92d5b9 /DOCS/man/mpv.rst
parent8bdedf9062074f03b13820487fccc892105eb472 (diff)
downloadmpv-0a1588d39b2c30421909c87e60b1510ffd338497.tar.bz2
mpv-0a1588d39b2c30421909c87e60b1510ffd338497.tar.xz
options: add -remove action to list options
Actually I wanted this for key/value lists only, but add it to the others for consistency too. (For vf/af it barely makes even sense, but anyway.)
Diffstat (limited to 'DOCS/man/mpv.rst')
-rw-r--r--DOCS/man/mpv.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst
index 9ff62ae4f0..a96dd1149e 100644
--- a/DOCS/man/mpv.rst
+++ b/DOCS/man/mpv.rst
@@ -496,6 +496,7 @@ Suffix Meaning
-add Append 1 or more items (same syntax as -set)
-pre Prepend 1 or more items (same syntax as -set)
-clr Clear the option (remove all items)
+-remove Delete item if present (does not interpret escapes)
-del Delete 1 or more items by integer index
-toggle Append an item, or remove if if it already exists (no escapes)
============= ===============================================
@@ -518,6 +519,7 @@ Suffix Meaning
-set Set a list of items (using ``,`` as separator)
-append Append a single item (escapes for the key, no escapes for the value)
-add Append 1 or more items (same syntax as -set)
+-remove Delete item by key if present (does not interpret escapes)
============= ===============================================
Keys are unique within the list. If an already present key is set, the existing
@@ -538,6 +540,7 @@ Suffix Meaning
-add Append 1 or more filters (same syntax as -set)
-pre Prepend 1 or more filters (same syntax as -set)
-clr Clear the option (remove all filters)
+-remove Delete filter if present
-del Delete 1 or more filters by integer index or filter label
-toggle Append a filter, or remove if if it already exists
-help Pseudo operation that prints a help text to the terminal