summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2023-10-29 15:47:06 -0500
committerDudemanguy <random342@airmail.cc>2023-10-30 16:46:32 +0000
commit991e2a599c464e3c27d0447fb8198ac44731574a (patch)
treebae83f55df81b85248f4dc9487f1d4b880b234b8 /options
parent612faed85654d1a20e6959ca9e0ce2fc34d38790 (diff)
downloadmpv-991e2a599c464e3c27d0447fb8198ac44731574a.tar.bz2
mpv-991e2a599c464e3c27d0447fb8198ac44731574a.tar.xz
options: make --screenshot-directory/--watch-later-directory aliases
By popular demand I guess.
Diffstat (limited to 'options')
-rw-r--r--options/options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/options/options.c b/options/options.c
index d842db2acb..c98930e6c6 100644
--- a/options/options.c
+++ b/options/options.c
@@ -759,6 +759,7 @@ static const m_option_t mp_opts[] = {
OPT_BOOL(ignore_path_in_watch_later_config)},
{"watch-later-dir", OPT_STRING(watch_later_dir),
.flags = M_OPT_FILE},
+ {"watch-later-directory", OPT_ALIAS("watch-later-dir")},
{"watch-later-options", OPT_STRINGLIST(watch_later_options)},
{"ordered-chapters", OPT_BOOL(ordered_chapters)},
@@ -820,6 +821,7 @@ static const m_option_t mp_opts[] = {
{"screenshot-template", OPT_STRING(screenshot_template)},
{"screenshot-dir", OPT_STRING(screenshot_dir),
.flags = M_OPT_FILE},
+ {"screenshot-directory", OPT_ALIAS("screenshot-dir")},
{"screenshot-sw", OPT_BOOL(screenshot_sw)},
{"", OPT_SUBSTRUCT(resample_opts, resample_conf)},
@@ -890,9 +892,7 @@ static const m_option_t mp_opts[] = {
{"", OPT_SUBSTRUCT(encode_opts, encode_config)},
{"play-dir", OPT_REPLACED("play-direction")},
- {"screenshot-directory", OPT_REPLACED("screenshot-dir")},
{"sub-forced-only", OPT_REPLACED("sub-forced-events-only")},
- {"watch-later-directory", OPT_REPLACED("watch-later-dir")},
{0}
};