diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 81f1501048..412d4d355d 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -1485,26 +1485,37 @@ Window OS X only. Black out other displays when going fullscreen. -``--keep-open`` +``--keep-open=opts; if (opts->keep_open && mpctx->stop_play == AT_END_OF_FILE && - !playlist_get_next(mpctx->playlist, 1) && opts->loop_times < 0) + (opts->keep_open == 2 || !playlist_get_next(mpctx->playlist, 1)) && + opts->loop_times < 0) { mpctx->stop_play = KEEP_PLAYING; if (mpctx->d_video) {