summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-11-16 15:28:18 +0100
committerwm4 <wm4@nowhere>2019-11-16 15:28:18 +0100
commitf57f13ceb031e5a11a4a2de226ee1f9b211ddb64 (patch)
tree38d6005b619eea74482189373123f5bda52e679b /options
parent6bbf44d842090b6d34b8893e575b7fa7cbc14b13 (diff)
downloadmpv-f57f13ceb031e5a11a4a2de226ee1f9b211ddb64.tar.bz2
mpv-f57f13ceb031e5a11a4a2de226ee1f9b211ddb64.tar.xz
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.
Diffstat (limited to 'options')
-rw-r--r--options/options.c3
1 files changed, 2 insertions, 1 deletions
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),