diff options
author | Timotej Lazar <timotej.lazar@araneo.si> | 2016-07-14 20:04:59 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-07-14 22:37:42 +0200 |
commit | 91a1b17104e6417cb2c77c838c85fabcff9e7d11 (patch) | |
tree | d6aa52db710cc28d246b94c66b18c6c9172fcd98 /DOCS/mplayer-changes.rst | |
parent | 6e45e1de7778fab39e478f4e05008eb96bbec523 (diff) | |
download | mpv-91a1b17104e6417cb2c77c838c85fabcff9e7d11.tar.bz2 mpv-91a1b17104e6417cb2c77c838c85fabcff9e7d11.tar.xz |
Use - as command-name separator everywhere
Old-style commands using _ as separator (e.g. show_progress) were still
used in some places, including documentation and configuration files.
This commit updates all such instances to the new style (show-progress)
so that commands are easier to find in the manual.
Diffstat (limited to 'DOCS/mplayer-changes.rst')
-rw-r--r-- | DOCS/mplayer-changes.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/DOCS/mplayer-changes.rst b/DOCS/mplayer-changes.rst index 06990219cc..0eb523660d 100644 --- a/DOCS/mplayer-changes.rst +++ b/DOCS/mplayer-changes.rst @@ -30,7 +30,7 @@ Player * Slave mode compatibility broken (see below). * Re-enable screensaver while the player is paused. * Allow resuming playback at a later point with ``Shift+q``, also see the - ``quit_watch_later`` input command. + ``quit-watch-later`` input command. * ``--keep-open`` option to stop the player from closing the window and exiting after playback ends. * A client API, that allows embedding **mpv** into applications @@ -312,11 +312,11 @@ input.conf and Slave Commands +--------------------------------+----------------------------------------+ | Old | New | +================================+========================================+ - | ``pt_step 1 [0|1]`` | ``playlist_next [weak|force]`` | + | ``pt_step 1 [0|1]`` | ``playlist-next [weak|force]`` | | | (translation layer cannot deal with | | | whitespace) | +--------------------------------+----------------------------------------+ - | ``pt_step -1 [0|1]`` | ``playlist_prev [weak|force] (same)`` | + | ``pt_step -1 [0|1]`` | ``playlist-prev [weak|force] (same)`` | +--------------------------------+----------------------------------------+ | ``switch_ratio [<ratio>]`` | ``set video-aspect <ratio>`` | | | | @@ -331,7 +331,7 @@ input.conf and Slave Commands | ``<step> <dir>`` | ``no-osd``: ``no-osd cycle <prop>`` | | | ``<step>`` | +--------------------------------+----------------------------------------+ - | ``osd_show_property_text`` | ``show_text <text>`` | + | ``osd_show_property_text`` | ``show-text <text>`` | | ``<text>`` | The property expansion format string | | | syntax slightly changed. | +--------------------------------+----------------------------------------+ @@ -340,9 +340,9 @@ input.conf and Slave Commands | | ``raw`` prefix to disable property | | | expansion. | +--------------------------------+----------------------------------------+ - | ``show_tracks`` | ``show_text ${track-list}`` | + | ``show_tracks`` | ``show-text ${track-list}`` | +--------------------------------+----------------------------------------+ - | ``show_chapters`` | ``show_text ${chapter-list}`` | + | ``show_chapters`` | ``show-text ${chapter-list}`` | +--------------------------------+----------------------------------------+ | ``af_switch``, ``af_add``, ... | ``af set|add|...`` | +--------------------------------+----------------------------------------+ |