diff options
author | Dudemanguy <random342@airmail.cc> | 2023-10-15 10:56:12 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-10-25 16:16:37 +0000 |
commit | 1370ecfc1b9b477aecc552355a0ac5f8555e51ae (patch) | |
tree | d84be9fa82c884c12aca4f58dc2b6e69c8a856b4 /options/options.c | |
parent | b626f3ba8367d88e3526efa49961f91af4a6620c (diff) | |
download | mpv-1370ecfc1b9b477aecc552355a0ac5f8555e51ae.tar.bz2 mpv-1370ecfc1b9b477aecc552355a0ac5f8555e51ae.tar.xz |
options: rename --screenshot-directory to --screenshot-dir
Less characters is better? Other options use -dir for directory so
consistency I guess.
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 3 |
1 files changed, 2 insertions, 1 deletions
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} }; |