diff options
author | Max Kellermann <max@musicpd.org> | 2020-09-22 20:05:06 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2020-09-22 20:16:02 +0200 |
commit | 71bf1a8a3d762f916d2a7ca77545581afd91db5f (patch) | |
tree | 951f083397ed7b6af02ef41fde331cf7d4d0d1ae | |
parent | bc47a16943b9eacf5e2cf18eea50e314cf98dd50 (diff) |
doc/protocol.rst: improve "pause" documentation
And un-deprecate "pause" without parameter (toggles pause). I have no
idea why it was deprecated long ago; the deprecation notice was copied
from the ancient MPD wiki.
Closes https://github.com/MusicPlayerDaemon/MPD/issues/944
-rw-r--r-- | doc/protocol.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/protocol.rst b/doc/protocol.rst index 200d5dcf6..bcbe16155 100644 --- a/doc/protocol.rst +++ b/doc/protocol.rst @@ -556,10 +556,10 @@ Controlling playback :command:`next` Plays next song in the playlist. -:command:`pause {PAUSE}` - Toggles pause/resumes playing, ``PAUSE`` is 0 or 1. - - The use of pause command without the PAUSE argument is deprecated. +:command:`pause {STATE}` + Pause or resume playback. Pass :samp:`1` to pause playback or + :samp:`0` to resume playback. Without the parameter, the pause + state is toggled. :command:`play [SONGPOS]` Begins playing the playlist at song number |