summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-08-06 00:16:17 +0200
committerwm4 <wm4@nowhere>2015-08-06 00:17:30 +0200
commitcaebbded67195d7f234e620cadc25ec276f4abcc (patch)
treec932d82d8a9fe525e77327a69f32f4b5405fe921 /DOCS
parent9bcc882659d5834bb3728c1398508dc14ad12736 (diff)
downloadmpv-caebbded67195d7f234e620cadc25ec276f4abcc.tar.bz2
mpv-caebbded67195d7f234e620cadc25ec276f4abcc.tar.xz
command: define-section with empty contents removes a section
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/input.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 9ad3122d3d..58413d54e3 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -521,6 +521,8 @@ Input Commands that are Possibly Subject to Change
``input.conf`` file (except that using the section syntax in it is not
allowed), including the need to separate bindings with a newline character.
+ If the ``contents`` parameter is an empty string, the section is removed.
+
The section with the name ``default`` is the normal input section.
In general, input sections have to be enabled with the ``enable-section``