mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 03:52:22 +02:00
options: add M_OPT_FILE to new options that are missing it
Fixes shell completion.
This commit is contained in:
parent
89db92398e
commit
6172e843cd
@ -109,7 +109,7 @@ const m_option_t mp_opts[] = {
|
||||
.type = &m_option_type_msglevels),
|
||||
OPT_STRING("dump-stats", dump_stats, CONF_GLOBAL | CONF_PRE_PARSE),
|
||||
OPT_FLAG("msg-color", msg_color, CONF_GLOBAL | CONF_PRE_PARSE),
|
||||
OPT_STRING("log-file", log_file, CONF_GLOBAL | CONF_PRE_PARSE),
|
||||
OPT_STRING("log-file", log_file, CONF_GLOBAL | CONF_PRE_PARSE | M_OPT_FILE),
|
||||
OPT_FLAG("msg-module", msg_module, CONF_GLOBAL),
|
||||
OPT_FLAG("msg-time", msg_time, CONF_GLOBAL),
|
||||
#ifdef _WIN32
|
||||
|
@ -73,7 +73,7 @@ const struct m_sub_options stream_dvb_conf = {
|
||||
OPT_STRING("prog", cfg_prog, 0),
|
||||
OPT_INTRANGE("card", cfg_card, 0, 1, 4),
|
||||
OPT_INTRANGE("timeout", cfg_timeout, 0, 1, 30),
|
||||
OPT_STRING("file", cfg_file, 0),
|
||||
OPT_STRING("file", cfg_file, M_OPT_FILE),
|
||||
OPT_FLAG("full-transponder", cfg_full_transponder, 0),
|
||||
{0}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user