summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjaseg <githubaccount@jaseg.net>2018-07-25 12:11:32 +0200
committerJan Ekström <jeebjp@gmail.com>2018-09-29 22:22:20 +0300
commit4d074a960dcb9563e24cfbe9acfee4eec0872a2e (patch)
treebf555125e464e10581e3f3553874f0df854148df
parent071556efee0038470084ef963dab8343c5a833c7 (diff)
downloadmpv-4d074a960dcb9563e24cfbe9acfee4eec0872a2e.tar.bz2
mpv-4d074a960dcb9563e24cfbe9acfee4eec0872a2e.tar.xz
manpage: Correct show-text duration default value
duration is parsed as an integer, and the default value is used if ```-1``` is passed. Passing ```-``` as described here causes a parameter value error. (cherry picked from commit cfecbac863cea893d8f3cc462ea0610121f660da)
-rw-r--r--DOCS/man/input.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 58e2b9c27d..2fcf6857e7 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -350,7 +350,7 @@ List of Input Commands
Print text to stdout. The string can contain properties (see
`Property Expansion`_).
-``show-text "<string>" [<duration>|- [<level>]]``
+``show-text "<string>" [<duration>|-1 [<level>]]``
Show text on the OSD. The string can contain properties, which are expanded
as described in `Property Expansion`_. This can be used to show playback
time, filename, and so on.