From cb2e784c075bed1a3220cf46dc072171f4f632e5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 22 May 2014 21:28:20 +0200 Subject: 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. --- DOCS/man/en/input.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'DOCS/man/en') 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 []`` - 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 []`` 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 ""`` Load the given subtitle file. It is not selected as current subtitle after -- cgit v1.2.3