summaryrefslogtreecommitdiffstats
path: root/DOCS/man/mpv.rst
diff options
context:
space:
mode:
authorPhilip Sequeira <phsequei@gmail.com>2015-07-11 14:07:58 -0400
committerwm4 <wm4@nowhere>2015-07-11 23:46:49 +0200
commit4a4f788a68a0ca73dcc3eed6ccd0533be4912b20 (patch)
tree5b46154b0d44ca105052d1f091edfe1a882fe86d /DOCS/man/mpv.rst
parent898855cc0d076e4132140abce5913c298de83a00 (diff)
downloadmpv-4a4f788a68a0ca73dcc3eed6ccd0533be4912b20.tar.bz2
mpv-4a4f788a68a0ca73dcc3eed6ccd0533be4912b20.tar.xz
player: use exit code 0 by default for quit, 4 for signals, etc.
Default key bindings in encoding mode also use code 4, because scripts will probably want to fail if encoding is aborted (leaving an incomplete file).
Diffstat (limited to 'DOCS/man/mpv.rst')
-rw-r--r--DOCS/man/mpv.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst
index 7fd5d07485..55da5d9b0a 100644
--- a/DOCS/man/mpv.rst
+++ b/DOCS/man/mpv.rst
@@ -808,7 +808,8 @@ If errors happen, the following exit codes can be returned:
immediately after initialization.
:3: There were some files that could be played, and some files which
couldn't (using the definition of success from above).
- :4: The ``quit`` command was issued (default exit code).
+ :4: Quit due to a signal, Ctrl+c in a VO window (by default), or from the
+ default quit key bindings in encoding mode.
Note that quitting the player manually will always lead to exit code 0,
overriding the exit code that would be returned normally. Also, the ``quit``