From 1370ecfc1b9b477aecc552355a0ac5f8555e51ae Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Sun, 15 Oct 2023 10:56:12 -0500 Subject: options: rename --screenshot-directory to --screenshot-dir Less characters is better? Other options use -dir for directory so consistency I guess. --- 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 25dc84ad32..e1d01adbd6 100644 --- a/options/options.c +++ b/options/options.c @@ -815,7 +815,7 @@ static const m_option_t mp_opts[] = { {"screenshot", OPT_SUBSTRUCT(screenshot_image_opts, screenshot_conf)}, {"screenshot-template", OPT_STRING(screenshot_template)}, - {"screenshot-directory", OPT_STRING(screenshot_directory), + {"screenshot-dir", OPT_STRING(screenshot_dir), .flags = M_OPT_FILE}, {"screenshot-sw", OPT_BOOL(screenshot_sw)}, @@ -886,6 +886,7 @@ static const m_option_t mp_opts[] = { {"", OPT_SUBSTRUCT(encode_opts, encode_config)}, + {"screenshot-directory", OPT_REPLACED("screenshot-dir")}, {"sub-forced-only", OPT_REPLACED("sub-forced-events-only")}, {0} }; -- cgit v1.2.3