From b56e63e2a96b67aff4050d4db06ee67665893c36 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Wed, 25 Oct 2023 14:10:37 -0500 Subject: m_option: drop support for -del for list options 5f74ed58286a1339412554932f31844ec1b64280 deprecated this many years ago. The utility is questionable at best given that -remove exists and is more natural to use. Free up some code and drop it. --- DOCS/man/af.rst | 2 +- DOCS/man/mpv.rst | 2 -- DOCS/man/options.rst | 12 ++++++------ DOCS/man/vf.rst | 5 ----- 4 files changed, 7 insertions(+), 14 deletions(-) (limited to 'DOCS/man') diff --git a/DOCS/man/af.rst b/DOCS/man/af.rst index 4360adad09..98f9a9597a 100644 --- a/DOCS/man/af.rst +++ b/DOCS/man/af.rst @@ -20,7 +20,7 @@ syntax is: workaround deprecated mpv filters. See ``--vf`` group of options for info on how ``--af-add``, ``--af-pre``, -``--af-del``, ``--af-clr``, and possibly others work. +``--af-clr``, and possibly others work. Available filters are: diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst index 636d4bbdc3..5a4a3f62ad 100644 --- a/DOCS/man/mpv.rst +++ b/DOCS/man/mpv.rst @@ -539,7 +539,6 @@ Suffix Meaning -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 (deprecated) -toggle Append an item, or remove if if it already exists (no escapes) ============= =============================================== @@ -590,7 +589,6 @@ Suffix Meaning -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 (deprecated) -toggle Append a filter, or remove if if it already exists -help Pseudo operation that prints a help text to the terminal ============= =============================================== diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index a1dc8e392c..351294b110 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -1119,9 +1119,9 @@ Video ``--vf=`` Specify a list of video filters to apply to the video stream. See `VIDEO FILTERS`_ for details and descriptions of the available filters. - The option variants ``--vf-add``, ``--vf-pre``, ``--vf-del`` and - ``--vf-clr`` exist to modify a previously specified list, but you - should not need these for typical use. + The option variants ``--vf-add``, ``--vf-pre``, and ``--vf-clr`` exist + to modify a previously specified list, but you should not need these for + typical use. ``--untimed`` Do not sleep when outputting video frames. Useful for benchmarks when used @@ -1936,9 +1936,9 @@ Audio ``--af=`` Specify a list of audio filters to apply to the audio stream. See `AUDIO FILTERS`_ for details and descriptions of the available filters. - The option variants ``--af-add``, ``--af-pre``, ``--af-del`` and - ``--af-clr`` exist to modify a previously specified list, but you - should not need these for typical use. + The option variants ``--af-add``, ``--af-pre``, and ``--af-clr`` exist + to modify a previously specified list, but you should not need these for + typical use. ``--audio-spdif=`` List of codecs for which compressed audio passthrough should be used. This diff --git a/DOCS/man/vf.rst b/DOCS/man/vf.rst index 0d546bc071..1423e4c392 100644 --- a/DOCS/man/vf.rst +++ b/DOCS/man/vf.rst @@ -108,11 +108,6 @@ filter list. from the list if it was present. Matching of filters works as described in ``--vf-remove``. -``--vf-del=filter`` - Sort of like ``--vf-remove``, but also accepts an index number. Index - numbers start at 0, negative numbers address the end of the list (-1 is the - last). Deprecated. - ``--vf-clr`` Completely empties the filter list. -- cgit v1.2.3