diff options
author | wm4 <wm4@nowhere> | 2017-06-23 20:42:20 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-06-23 20:42:20 +0200 |
commit | 633152e55a6f851c58267793081dea3162acfb48 (patch) | |
tree | 47c1b2f740c552a9273cdc7d9439d3918d6baeb8 /options/options.c | |
parent | 48970cd485bf2811d1bbfcd69de55ff4f9c412e2 (diff) | |
download | mpv-633152e55a6f851c58267793081dea3162acfb48.tar.bz2 mpv-633152e55a6f851c58267793081dea3162acfb48.tar.xz |
options: remove weird --really-quiet special behavior
This was especially grating because it causes problems with the
option/property unification, uses as only thing OPT_FLAG_STORE, and
behaves weird with the client API or scripts.
It can be reimplemented in a much simpler way, although it needs
slightly more code. (Simpler because less special cases.)
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/options/options.c b/options/options.c index 620cc67318..03ab7c89bc 100644 --- a/options/options.c +++ b/options/options.c @@ -261,8 +261,7 @@ const m_option_t mp_opts[] = { // ------------------------- common options -------------------- OPT_FLAG("quiet", quiet, 0), - OPT_FLAG_STORE("really-quiet", verbose, - M_OPT_FIXED | CONF_PRE_PARSE | M_OPT_NOPROP, -10), + OPT_FLAG("really-quiet", msg_really_quiet, CONF_PRE_PARSE | UPDATE_TERM), OPT_FLAG("terminal", use_terminal, CONF_PRE_PARSE | UPDATE_TERM), OPT_GENERAL(char**, "msg-level", msg_levels, CONF_PRE_PARSE | UPDATE_TERM, .type = &m_option_type_msglevels), |