Skip to content

Commit

Permalink
DOCS/man: replace legacy option syntax usage
Browse files Browse the repository at this point in the history
They are replaced by --option=value.
  • Loading branch information
na-na-hi committed May 9, 2024
1 parent bf6d49c commit 7613cd2
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion DOCS/man/ao.rst
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ Available audio output drivers are:

``--sdl-buflen=<length>``
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.

Expand Down
2 changes: 1 addition & 1 deletion DOCS/man/encode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ You can encode files from one format/codec to another using this facility.

``--of=<format>``
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=<options>``
Expand Down
2 changes: 1 addition & 1 deletion DOCS/man/input.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``
Expand Down
10 changes: 5 additions & 5 deletions DOCS/man/options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Track Selection
``--subs-match-os-language=<yes|no>``
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=<yes|default|no>``
Expand Down Expand Up @@ -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``
Expand All @@ -751,7 +751,7 @@ Program Behavior

``--log-file=<path>``
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).

Expand Down
4 changes: 2 additions & 2 deletions DOCS/man/vf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7613cd2

Please sign in to comment.