From 65b55433329bde66f0338d94d1bd18831424b785 Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Thu, 23 Nov 2023 08:46:20 +0100 Subject: DOCS/mpv: quotes in mpv.conf don't escape backslash I don't know why I thought they did in 7798881360, but single quotes disable escape sequences only in input.conf commands. --- DOCS/man/mpv.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'DOCS/man/mpv.rst') diff --git a/DOCS/man/mpv.rst b/DOCS/man/mpv.rst index e97422d7ba..7f23dc158f 100644 --- a/DOCS/man/mpv.rst +++ b/DOCS/man/mpv.rst @@ -651,8 +651,9 @@ before. This is like passing the exact contents of the quoted string as a command line option. C-style escapes are currently _not_ interpreted on this level, although some options do this manually (this is a mess and should probably be changed at some point). The shell is not involved here, so option -values only need to be quoted to escape ``#`` and ``\``, ``"``, ``'`` or ``%`` -at the beginning of the value, and leading and trailing whitespace. +values only need to be quoted to escape ``#`` anywhere in the value, ``"``, +``'`` or ``%`` at the beginning of the value, and leading and trailing +whitespace. Putting Command Line Options into the Configuration File -------------------------------------------------------- -- cgit v1.2.3