summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
Diffstat (limited to 'options')
-rw-r--r--options/options.c1
-rw-r--r--options/options.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 1748b3293c..1541f6f323 100644
--- a/options/options.c
+++ b/options/options.c
@@ -109,6 +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_FLAG("msg-module", msg_module, CONF_GLOBAL),
OPT_FLAG("msg-time", msg_time, CONF_GLOBAL),
#ifdef _WIN32
diff --git a/options/options.h b/options/options.h
index 00b4b588dd..8313ce1448 100644
--- a/options/options.h
+++ b/options/options.h
@@ -60,6 +60,7 @@ typedef struct MPOpts {
int msg_color;
int msg_module;
int msg_time;
+ char *log_file;
char **reset_options;
char **script_files;