1
mirror of https://github.com/mpv-player/mpv synced 2024-11-18 21:16:10 +01:00
mpv/options
wm4 50008adf4a options: handle suffixes like -add in a more generic way
This affects options like --vf or --display-tags. These used a "*"
suffix to match all options starting with a specific name, and handled
the rest in the option parser. Change this to remove the "*" special
case, and require every option parser to declare a list of allowed
suffixes via m_option_type.actions.

The new way is conceptually simpler, because we don't have to account
for the "*" in a bunch of places anymore, and instead everything is
centrally handled in the CLI part of the option parser, where it's
actually needed.

It automatically enables suffixes like -add for a bunch of other
stringlist options.
2017-06-26 21:07:00 +02:00
..
m_config.c options: handle suffixes like -add in a more generic way 2017-06-26 21:07:00 +02:00
m_config.h options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
m_option.c options: handle suffixes like -add in a more generic way 2017-06-26 21:07:00 +02:00
m_option.h options: handle suffixes like -add in a more generic way 2017-06-26 21:07:00 +02:00
m_property.c m_property: change license to LGPL 2017-06-12 17:00:20 +02:00
m_property.h command: avoid going through prop->opt bridge from opt->prop bridge 2017-06-16 21:31:24 +02:00
options.c options: handle suffixes like -add in a more generic way 2017-06-26 21:07:00 +02:00
options.h options: remove weird --really-quiet special behavior 2017-06-23 20:42:20 +02:00
parse_commandline.c Revert "parse_commandline: fail gracefully on bad args" 2017-06-24 11:32:40 +02:00
parse_commandline.h options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
parse_configfile.c options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
parse_configfile.h options: change license of most files to LGPL (except options.c/.h) 2017-06-12 20:55:17 +02:00
path.c path: change license to LGPL 2017-06-12 16:41:21 +02:00
path.h path: change license to LGPL 2017-06-12 16:41:21 +02:00