summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-25 21:04:04 +0100
committerwm4 <wm4@nowhere>2014-02-25 21:04:04 +0100
commit428ffb01cf4d8fdc3e2a61a9571388ae14e34f00 (patch)
treefcd730b7d0f8371bcdfc5ea1dafb0da2f3f8b8fa /DOCS
parent2ea614ada6d31d2f9cebf7ea4eda05105b35e41d (diff)
downloadmpv-428ffb01cf4d8fdc3e2a61a9571388ae14e34f00.tar.bz2
mpv-428ffb01cf4d8fdc3e2a61a9571388ae14e34f00.tar.xz
config: add a --config-dir option to force config directory
Useful for slave-mode like uses, and not as radical as --no-config.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/en/options.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst
index 5ddb681ed5..ca887eccfb 100644
--- a/DOCS/man/en/options.rst
+++ b/DOCS/man/en/options.rst
@@ -557,6 +557,15 @@ OPTIONS
It is advisable to use your graphics driver's color range option
instead, if available.
+``--config-dir=<path>``
+ Force a different configuration directory. If this is set, the given
+ directory is used to load configuration files, and all other configuration
+ directories are ignored. This means the global mpv configuration directory
+ as well as per-user directories are ignored, and overrides through
+ environment variables (``MPV_HOME``) are also ignored.
+
+ Note that the ``--no-config`` option takes precedence over this option.
+
``--consolecontrols``, ``--no-consolecontrols``
``--no-consolecontrols`` prevents the player from reading key events from
standard input. Useful when reading data from standard input. This is
@@ -1420,6 +1429,8 @@ OPTIONS
Files explicitly requested by command line options, like
``--include`` or ``--use-filedir-conf``, will still be loaded.
+ Also see ``--config-dir``.
+
``--no-idx``
Do not use index present in the file even if one is present.