From 7613cd212ec45c081fa51762ad01857d7f556adf Mon Sep 17 00:00:00 2001 From: nanahi <130121847+na-na-hi@users.noreply.github.com> Date: Wed, 17 Apr 2024 00:27:25 -0400 Subject: [PATCH] DOCS/man: replace legacy option syntax usage They are replaced by --option=value. --- DOCS/man/ao.rst | 2 +- DOCS/man/encode.rst | 2 +- DOCS/man/input.rst | 2 +- DOCS/man/options.rst | 10 +++++----- DOCS/man/vf.rst | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/DOCS/man/ao.rst b/DOCS/man/ao.rst index 78dfed3b518e8..496f44d248874 100644 --- a/DOCS/man/ao.rst +++ b/DOCS/man/ao.rst @@ -229,7 +229,7 @@ Available audio output drivers are: ``--sdl-buflen=`` Sets the audio buffer length in seconds. Is used only as a hint by the - sound system. Playing a file with ``-v`` will show the requested and + sound system. Playing a file with ``--v`` will show the requested and obtained exact buffer size. A value of 0 selects the sound system default. diff --git a/DOCS/man/encode.rst b/DOCS/man/encode.rst index 26f3d6cbc8e2f..c650d0f6c414b 100644 --- a/DOCS/man/encode.rst +++ b/DOCS/man/encode.rst @@ -8,7 +8,7 @@ You can encode files from one format/codec to another using this facility. ``--of=`` Specifies the output format (overrides autodetection by the file name - extension of the file specified by ``-o``). See ``--of=help`` for a full + extension of the file specified by ``--o``). See ``--of=help`` for a full list of supported formats. ``--ofopts=`` diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index df4766b5be415..5489acbc316da 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -3056,7 +3056,7 @@ Property list Total number of tracks. ``track-list/N/id`` - The ID as it's used for ``-sid``/``--aid``/``--vid``. This is unique + The ID as it's used for ``--sid``/``--aid``/``--vid``. This is unique within tracks of the same type (sub/audio/video), but otherwise not. ``track-list/N/type`` diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index e40e7d2c6d117..d9e55bbf8adfc 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -146,7 +146,7 @@ Track Selection ``--subs-match-os-language=`` When autoselecting a subtitle track, select the track that matches the language of your OS if the audio stream is in a different language if suitable (default track or a forced track - under the right conditions). Note that if ``-slang`` is set, this will be completely ignored + under the right conditions). Note that if ``--slang`` is set, this will be completely ignored (default: yes). ``--subs-fallback=`` @@ -720,11 +720,11 @@ Program Behavior options that contain the word ``scale``. The special string ``*`` lists all top-level options. -``-v`` - Increment verbosity level, one level for each ``-v`` found on the command +``--v`` + Increment verbosity level, one level for each ``--v`` found on the command line. -``--version, -V`` +``--version, --V`` Print version string and exit. ``--no-config`` @@ -751,7 +751,7 @@ Program Behavior ``--log-file=`` Opens the given path for writing, and print log messages to it. Existing - files will be truncated. The log level is at least ``-v -v``, but + files will be truncated. The log level is at least ``--v --v``, but can be raised via ``--msg-level`` (the option cannot lower it below the forced minimum log level). diff --git a/DOCS/man/vf.rst b/DOCS/man/vf.rst index a989ad54455d9..86f6b8ff67267 100644 --- a/DOCS/man/vf.rst +++ b/DOCS/man/vf.rst @@ -103,7 +103,7 @@ filter list. compared. (Passing multiple filters is currently still possible, but deprecated.) -``-vf-toggle=filter`` +``--vf-toggle=filter`` Add the given filter to the list if it was not present yet, or remove it from the list if it was present. Matching of filters works as described in ``--vf-remove``. @@ -192,7 +192,7 @@ Available mpv-only filters are: space if the system video driver supports it, but not input and output levels. The ``scale`` video filter can configure color space and input levels, but only if the output format is RGB (if the video output driver - supports RGB output, you can force this with ``-vf scale,format=rgba``). + supports RGB output, you can force this with ``--vf=scale,format=rgba``). If this option is set to ``auto`` (which is the default), the video's color space flag will be used. If that flag is unset, the color space