From a2a5fa454565e7e7ca11721ec9d1935a9fccf168 Mon Sep 17 00:00:00 2001 From: Philip Sequeira Date: Sun, 5 Mar 2017 16:47:36 -0500 Subject: options: add M_OPT_FILE to some more file options (Helps shell completion.) --- options/options.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'options') diff --git a/options/options.c b/options/options.c index 012707cb2c..0cb653c4a9 100644 --- a/options/options.c +++ b/options/options.c @@ -305,7 +305,7 @@ const m_option_t mp_opts[] = { #endif OPT_FLAG("config", load_config, M_OPT_FIXED | CONF_PRE_PARSE), OPT_STRING("config-dir", force_configdir, - M_OPT_FIXED | CONF_NOCFG | CONF_PRE_PARSE), + M_OPT_FIXED | CONF_NOCFG | CONF_PRE_PARSE | M_OPT_FILE), OPT_STRINGLIST("reset-on-next-file", reset_options, 0), #if HAVE_LUA @@ -618,7 +618,7 @@ const m_option_t mp_opts[] = { OPT_FLAG("save-position-on-quit", position_save_on_quit, 0), OPT_FLAG("write-filename-in-watch-later-config", write_filename_in_watch_later_config, 0), OPT_FLAG("ignore-path-in-watch-later-config", ignore_path_in_watch_later_config, 0), - OPT_STRING("watch-later-directory", watch_later_directory, 0), + OPT_STRING("watch-later-directory", watch_later_directory, M_OPT_FILE), OPT_FLAG("ordered-chapters", ordered_chapters, 0), OPT_STRING("ordered-chapters-files", ordered_chapters_files, M_OPT_FILE), @@ -686,7 +686,7 @@ const m_option_t mp_opts[] = { OPT_SUBSTRUCT("screenshot", screenshot_image_opts, screenshot_conf, 0), OPT_STRING("screenshot-template", screenshot_template, 0), - OPT_STRING("screenshot-directory", screenshot_directory, 0), + OPT_STRING("screenshot-directory", screenshot_directory, M_OPT_FILE), OPT_STRING("record-file", record_file, M_OPT_FILE), -- cgit v1.2.3