diff options
author | wm4 <wm4@nowhere> | 2015-02-06 16:48:52 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-02-06 16:48:52 +0100 |
commit | ffe894ec0a73ab6a16ce1ca62800bf1612542107 (patch) | |
tree | 2ff3877eb428fa191f318d1285ae96f28cb37bb6 /DOCS | |
parent | 1a38741dce3e32218521cc2b00819dac1ccebc3a (diff) |
options: change --msg-level option
Make it accept "," as separator, instead of only ":". Do this by using
the key-value-list parser. Before this, the option was stored as a
string, with the option parser verifying that the option value as
correct. Now it's stored pre-parsed, although the log levels still
require separate verification and parsing-on-use to some degree (which
is why the msg-level option type doesn't go away).
Because the internal type changes, the client API "native" type also
changes. This could be prevented with some more effort, but I don't
think it's worth it - if MPV_FORMAT_STRING is used, it still works the
same, just with a different separator on read accesses.
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/client-api-changes.rst | 2 | ||||
-rw-r--r-- | DOCS/man/options.rst | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/DOCS/client-api-changes.rst b/DOCS/client-api-changes.rst index 626474779b..19a7cbd137 100644 --- a/DOCS/client-api-changes.rst +++ b/DOCS/client-api-changes.rst @@ -25,6 +25,8 @@ API changes :: + git - the --msg-level option changes its native type from a flat string to + a key-value list (setting/reading the option as string still works) 1.14 - add mpv_wait_async_requests() 1.13 - add MPV_EVENT_QUEUE_OVERFLOW 1.12 - add class Handle to qthelper.hpp diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index ad73b6ddcf..91c10f187b 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -2745,7 +2745,7 @@ Terminal ``--no-msg-color`` Disable colorful console output on terminals. -``--msg-level=<module1=level1:module2=level2:...>`` +``--msg-level=<module1=level1,module2=level2,...>`` Control verbosity directly for each module. The ``all`` module changes the verbosity of all the modules not explicitly specified on the command line. |