diff options
author | Ricardo Constantino <wiiaboo@gmail.com> | 2017-07-11 23:55:04 +0100 |
---|---|---|
committer | Ricardo Constantino <wiiaboo@gmail.com> | 2017-07-12 00:38:54 +0100 |
commit | 005ec766c662c6a1c74ca804bf0c5c368e90206e (patch) | |
tree | a09e9b06af87ae4c5684823f5ecdceae20e5d6d8 /DOCS/man | |
parent | db60cbb80acf3709e6d0756fffa42a87baf27973 (diff) |
man/options: fix a few broken options' examples
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/options.rst | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 054058362a..bcf207470a 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -12,11 +12,10 @@ Track Selection .. admonition:: Examples - ``mpv dvd://1 --alang=hu,en`` - Chooses the Hungarian language track on a DVD and falls back on - English if Hungarian is not available. - ``mpv --alang=jpn example.mkv`` - Plays a Matroska file in Japanese. + - ``mpv dvd://1 --alang=hu,en`` chooses the Hungarian language track + on a DVD and falls back on English if Hungarian is not available. + - ``mpv --alang=jpn example.mkv`` plays a Matroska file with Japanese + audio. ``--slang=<languagecode[,languagecode,...]>`` Specify a priority list of subtitle languages to use. Different container @@ -539,16 +538,15 @@ Program Behavior should use ``%`` before any of the characters ``^$()%|,.[]*+-?`` to match that character. - .. admonition:: Example + .. admonition:: Examples - ``--script-opts=ytdl_hook-exclude='^youtube%.com'`` will exclude any - URL that starts with ``http://youtube.com`` or - ``https://youtube.com``. - ``--script-opts=ytdl_hook-exclude='%.mkv$|%.mp4$'`` will exclude any - URL that ends with ``.mkv`` or ``.mp4``. + - ``--script-opts=ytdl_hook-exclude='^youtube%.com'`` + will exclude any URL that starts with ``http://youtube.com`` or + ``https://youtube.com``. + - ``--script-opts=ytdl_hook-exclude='%.mkv$|%.mp4$'`` + will exclude any URL that ends with ``.mkv`` or ``.mp4``. - See more `lua patterns here`__. - __ https://www.lua.org/manual/5.1/manual.html#5.4.1 + See more lua patterns here: https://www.lua.org/manual/5.1/manual.html#5.4.1 ``--ytdl-format=<best|worst|mp4|webm|...>`` @@ -568,8 +566,8 @@ Program Behavior .. admonition:: Example - ``--ytdl-raw-options=username=user,password=pass`` - ``--ytdl-raw-options=force-ipv6=`` + - ``--ytdl-raw-options=username=user,password=pass`` + - ``--ytdl-raw-options=force-ipv6=`` ``--player-operation-mode=<cplayer|pseudo-gui>`` For enabling "pseudo GUI mode", which means that the defaults for some @@ -1619,7 +1617,7 @@ Subtitles .. admonition:: Example - `--sub-speed=25/23.976`` plays frame based subtitles which have been + ``--sub-speed=25/23.976`` plays frame based subtitles which have been loaded assuming a framerate of 23.976 at 25 FPS. ``--sub-ass-force-style=<[Style.]Param=Value[,...]>`` |