diff options
author | wm4 <wm4@nowhere> | 2013-12-21 20:04:49 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 21:43:16 +0100 |
commit | 7bdee8f35ed0aa19c83377b7c264c51696f9653f (patch) | |
tree | 4051e8ed31372cc8410efb55b183aa48a07af682 /options/m_option.c | |
parent | 9242c34fa26aafb09a9973a5175c281233a13bdc (diff) | |
download | mpv-7bdee8f35ed0aa19c83377b7c264c51696f9653f.tar.bz2 mpv-7bdee8f35ed0aa19c83377b7c264c51696f9653f.tar.xz |
m_option: add mp_log context to sub-module print_help callback
Diffstat (limited to 'options/m_option.c')
-rw-r--r-- | options/m_option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/options/m_option.c b/options/m_option.c index f3b7afcd18..5b9654c744 100644 --- a/options/m_option.c +++ b/options/m_option.c @@ -2142,7 +2142,7 @@ static int m_obj_parse_sub_config(struct mp_log *log, struct bstr opt_name, print_help: ; if (config) { if (desc->print_help) - desc->print_help(); + desc->print_help(log); m_config_print_option_list(config); } else { mp_warn(log, "Option %.*s doesn't exist.\n", |