summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorjaseg <githubaccount@jaseg.net>2018-07-25 12:11:32 +0200
committersfan5 <sfan5@live.de>2018-08-05 23:02:01 +0200
commitcfecbac863cea893d8f3cc462ea0610121f660da (patch)
treea64357956c8522cc197e7ab9f8851cb72741d21b /DOCS/man
parent759a6a259e8ac865afe9dbf5b15d55d82bf78d52 (diff)
downloadmpv-cfecbac863cea893d8f3cc462ea0610121f660da.tar.bz2
mpv-cfecbac863cea893d8f3cc462ea0610121f660da.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.
Diffstat (limited to 'DOCS/man')
-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.