summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-08-14 20:01:08 +0200
committerwm4 <wm4@nowhere>2017-08-14 20:01:08 +0200
commit817bb2bbbe26a77d896abd2489c125cd79aa000e (patch)
treeeb4a321bf08c69bf2401d789e3154c2abc8f43f3 /options
parentdf8cc84f4782334015393b2dee669830d1cca516 (diff)
downloadmpv-817bb2bbbe26a77d896abd2489c125cd79aa000e.tar.bz2
mpv-817bb2bbbe26a77d896abd2489c125cd79aa000e.tar.xz
options: change --loop semantics
As announced by the previous deprecation.
Diffstat (limited to 'options')
-rw-r--r--options/options.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/options/options.c b/options/options.c
index 3400f9ee96..2bd7bf869d 100644
--- a/options/options.c
+++ b/options/options.c
@@ -614,6 +614,7 @@ const m_option_t mp_opts[] = {
({"no", 0},
{"yes", -1},
{"inf", -1})),
+ OPT_ALIAS("loop", "loop-file"),
OPT_FLAG("resume-playback", position_resume, 0),
OPT_FLAG("save-position-on-quit", position_save_on_quit, 0),
@@ -831,8 +832,6 @@ const m_option_t mp_opts[] = {
OPT_REPLACED("ass-scale-with-window", "sub-ass-scale-with-window"),
OPT_REPLACED("sub-ass-style-override", "sub-ass-override"),
OPT_REMOVED("fs-black-out-screens", NULL),
- OPT_REPLACED_MSG("loop", "loop-playlist", "--loop will be changed to map to"
- " --loop-file in future releases."),
OPT_REPLACED("sub-paths", "sub-file-paths"),
{0}