vo_sixel: change exit-clear handling to OPT_REPLACED

Easier to keep track of when we do want to remove it.
This commit is contained in:
Dudemanguy 2023-09-19 22:17:08 -05:00
parent 36ea5d7b5c
commit 1b68c5d22f
1 changed files with 1 additions and 2 deletions

View File

@ -618,10 +618,9 @@ const struct vo_driver video_out_sixel = {
{"rows", OPT_INT(opts.rows)}, {"rows", OPT_INT(opts.rows)},
{"cols", OPT_INT(opts.cols)}, {"cols", OPT_INT(opts.cols)},
{"config-clear", OPT_BOOL(opts.config_clear), }, {"config-clear", OPT_BOOL(opts.config_clear), },
{"exit-clear", OPT_BOOL(opts.alt_screen),
.deprecation_message = "replaced by --vo-sixel-alt-screen"},
{"alt-screen", OPT_BOOL(opts.alt_screen), }, {"alt-screen", OPT_BOOL(opts.alt_screen), },
{"buffered", OPT_BOOL(opts.buffered), }, {"buffered", OPT_BOOL(opts.buffered), },
{"exit-clear", OPT_REPLACED("vo-sixel-alt-screen")},
{0} {0}
}, },
.options_prefix = "vo-sixel", .options_prefix = "vo-sixel",