From f57f13ceb031e5a11a4a2de226ee1f9b211ddb64 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 16 Nov 2019 15:28:18 +0100 Subject: options: deprecate --input-file I have no idea why this still exists, since we have --input-ipc-server. I think there was something about Windows, but the latter option is implemented even on Windows. --- options/options.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'options/options.c') diff --git a/options/options.c b/options/options.c index d8d4c015d7..480186a908 100644 --- a/options/options.c +++ b/options/options.c @@ -697,7 +697,8 @@ 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 | UPDATE_INPUT, + .deprecation_message = "use --input-ipc-server"), OPT_STRING("input-ipc-server", ipc_path, M_OPT_FILE | UPDATE_INPUT), OPT_SUBSTRUCT("screenshot", screenshot_image_opts, screenshot_conf, 0), -- cgit v1.2.3