summaryrefslogtreecommitdiffstats
path: root/DOCS/man/en/input.rst
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-22 21:28:20 +0200
committerwm4 <wm4@nowhere>2014-05-22 21:28:20 +0200
commitcb2e784c075bed1a3220cf46dc072171f4f632e5 (patch)
tree7af1a7d821fd092d29fba55293ee86c1adf996da /DOCS/man/en/input.rst
parentaca4f9f474bfc7d3775a68d4838b0263e27c377b (diff)
downloadmpv-cb2e784c075bed1a3220cf46dc072171f4f632e5.tar.bz2
mpv-cb2e784c075bed1a3220cf46dc072171f4f632e5.tar.xz
player: give quit_watch_later an exit code argument like quit
The quit command has an optional argument that is used as exit code. Extend that to the quit_watch_later command. Actually, unify the implementations of the two commands. Requested in #798.
Diffstat (limited to 'DOCS/man/en/input.rst')
-rw-r--r--DOCS/man/en/input.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/DOCS/man/en/input.rst b/DOCS/man/en/input.rst
index ad8edc5885..28518cc475 100644
--- a/DOCS/man/en/input.rst
+++ b/DOCS/man/en/input.rst
@@ -242,11 +242,12 @@ List of Input Commands
shell script, and call that with ``run``.
``quit [<code>]``
- Exit the player using the given exit code.
+ Exit the player. If an argument is given, it's used as process exit code.
-``quit_watch_later``
+``quit_watch_later [<code>]``
Exit player, and store current playback position. Playing that file later
- will seek to the previous position on start.
+ will seek to the previous position on start. The (optional) argument is
+ exactly as in the ``quit`` command.
``sub_add "<file>"``
Load the given subtitle file. It is not selected as current subtitle after