From 428ffb01cf4d8fdc3e2a61a9571388ae14e34f00 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 25 Feb 2014 21:04:04 +0100 Subject: config: add a --config-dir option to force config directory Useful for slave-mode like uses, and not as radical as --no-config. --- DOCS/man/en/options.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'DOCS') 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=`` + 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. -- cgit v1.2.3