summaryrefslogtreecommitdiffstats
path: root/DOCS/man
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-01 14:21:32 +0200
committerwm4 <wm4@nowhere>2016-09-01 14:21:32 +0200
commit6b4f560f3ccca0f7db345bd7a6ed65e9307b432d (patch)
tree831199a941a1bf34959ca3809460655eb05f7685 /DOCS/man
parentec3c428e5fb03244b9f8f4f7432779b45a181166 (diff)
downloadmpv-6b4f560f3ccca0f7db345bd7a6ed65e9307b432d.tar.bz2
mpv-6b4f560f3ccca0f7db345bd7a6ed65e9307b432d.tar.xz
vo, ao: disable positional parameter suboptions
Positional parameters cause problems because they can be ambiguous with flag options. If a flag option is removed or turned into a non-flag option, it'll usually be interpreted as value for the first sub-option (as positional parameter), resulting in very confusing error messages. This changes it into a simple "option not found" error. I don't expect that anyone really used positional parameters with --vo or --ao. Although the docs for --ao=pulse seem to encourage positional parameters for the host/sink options, which means it could possibly annoy some PulseAudio users. --vf and --af are still mostly used with positional parameters, so this must be a configurable option in the option parser.
Diffstat (limited to 'DOCS/man')
-rw-r--r--DOCS/man/ao.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/DOCS/man/ao.rst b/DOCS/man/ao.rst
index 8bddc98a42..0ab49e91fc 100644
--- a/DOCS/man/ao.rst
+++ b/DOCS/man/ao.rst
@@ -183,7 +183,7 @@ Available audio output drivers are:
``pulse``
PulseAudio audio output driver
- ``[<host>][:<output sink>]``
+ ``host=<host>``, ``sink=<sink>``
Specify the host and optionally output sink to use. An empty <host>
string uses a local connection, "localhost" uses network transfer
(most likely not what you want).