summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsavoury1 <43487468+savoury1@users.noreply.github.com>2024-03-06 12:35:35 -0800
committerDudemanguy <random342@airmail.cc>2024-03-06 22:34:05 +0000
commitf532f3f38f1c430ae273d01acec8d2be2605b219 (patch)
tree70dc9cfefb31833e935f5abd39e66b2bd53f226f
parent68c61fd89f4c825ac559589458f406b4c92d04c6 (diff)
downloadmpv-f532f3f38f1c430ae273d01acec8d2be2605b219.tar.bz2
mpv-f532f3f38f1c430ae273d01acec8d2be2605b219.tar.xz
DOCS/man/input.rst: fix incorrect syntax
Some incorrect syntax is used in DOCS/man/input.rst with https://github.com/mpv-player/mpv/commit/c678033c1d60b48ae02fbbe4815869b9504a17f6 causing failure of PDF manual generation with rst2pdf. There are single rather than double back-ticks for insert-at and insert-at-play so this is fixed and a couple of typos are also corrected with this commit.
-rw-r--r--DOCS/man/input.rst20
1 files changed, 10 insertions, 10 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index f3e222d8c1..aa9f9af35a 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -483,11 +483,11 @@ Remember to quote string arguments in input.conf (see `Flat command syntax`_).
is currently playing, start playback. (Always starts with the added
file, even if the playlist was not empty before running this command.)
- The third argument is an insertion index, used only by the `insert-at` and
- `insert-at-play` actions. When used with those actions, the new item will be
- insert at the <index> position in the playlist, or appended to the end if
- <index> is less than 0 or greater than the size of the playlist. This
- argument will be ignored for all other actions.
+ The third argument is an insertion index, used only by the ``insert-at`` and
+ ``insert-at-play`` actions. When used with those actions, the new item will
+ be inserted at the index position in the playlist, or appended to the end if
+ index is less than 0 or greater than the size of the playlist. This argument
+ will be ignored for all other actions.
The fourth argument is a list of options and values which should be set
while the file is playing. It is of the form ``opt1=value1,opt2=value2,..``.
@@ -524,11 +524,11 @@ Remember to quote string arguments in input.conf (see `Flat command syntax`_).
new playlist, even if the internal playlist was not empty before running
this command.)
- The third argument is an insertion index, used only by the `insert-at` and
- `insert-at-play` actions. When used with those actions, the new playlist
- will be insert at the <index> position in the internal playlist, or appended
- to the end if <index> is less than 0 or greater than the size of the
- internal playlist. This argument will be ignored for all other actions.
+ The third argument is an insertion index, used only by the ``insert-at`` and
+ ``insert-at-play`` actions. When used with those actions, the new playlist
+ will be inserted at the index position in the internal playlist, or appended
+ to the end if index is less than 0 or greater than the size of the internal
+ playlist. This argument will be ignored for all other actions.
``playlist-clear``
Clear the playlist, except the currently played file.