From e75d28effd324d9383ee92304f2eba9a4f0d13c6 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 17 Dec 2019 22:06:29 +0100 Subject: command: slightly simplify input-ipc-server change detection/init The generic change detection now handles this just as well. The way how this function is manually called at init is slightly gross. Make that part slightly more explicit to hopefully avoid confusion. --- options/options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'options/options.c') diff --git a/options/options.c b/options/options.c index b7f2357ebe..a874e95483 100644 --- a/options/options.c +++ b/options/options.c @@ -702,9 +702,9 @@ static const m_option_t mp_opts[] = { OPT_FLAG("input-terminal", consolecontrols, UPDATE_TERM), - OPT_STRING("input-file", input_file, M_OPT_FILE | UPDATE_INPUT, + OPT_STRING("input-file", input_file, M_OPT_FILE, .deprecation_message = "use --input-ipc-server"), - OPT_STRING("input-ipc-server", ipc_path, M_OPT_FILE | UPDATE_INPUT), + OPT_STRING("input-ipc-server", ipc_path, M_OPT_FILE), OPT_SUBSTRUCT("screenshot", screenshot_image_opts, screenshot_conf, 0), OPT_STRING("screenshot-template", screenshot_template, 0), -- cgit v1.2.3