mpv/options
wm4 d3cef97ad3 options: change option parsing when using a single dash
Addresses dumb things like accidentally overwriting a media file with
e.g. "mpv --log-file test.mkv" (when the user thought that --log-file
was a flag option, when it actually takes a filename). This example will
now print an error. It still works with "-log-file overwritten.mkv", but
prints a warning.

Not sure if I'm being too careful or not "radical" enough. In any case,
both the syntax that stops working and the syntax that produces a
warning now have been discouraged and were called legacy for almost a
decade.
2020-01-07 23:08:45 +01:00
..
m_config.c command: make sub-step command actually apply sub-delay change properly 2020-01-04 21:12:29 +01:00
m_config.h command: make sub-step command actually apply sub-delay change properly 2020-01-04 21:12:29 +01:00
m_option.c m_option: fix runtime changing of --audio-channels 2019-12-27 17:44:33 +01:00
m_option.h options: add mechanism to add sub-options from component lists 2020-01-04 19:45:50 +01:00
m_property.c command: move property multiply code to m_property.c 2018-03-26 19:47:08 +02:00
m_property.h command: move property multiply code to m_property.c 2018-03-26 19:47:08 +02:00
options.c stream, demux: redo origin policy thing 2019-12-20 13:00:39 +01:00
options.h stream, demux: redo origin policy thing 2019-12-20 13:00:39 +01:00
parse_commandline.c options: change option parsing when using a single dash 2020-01-07 23:08:45 +01:00
parse_commandline.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +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 options/path: fix url detection per RFC3986 2019-04-05 20:48:24 +03:00
path.h path: don't access global option struct 2018-05-24 19:56:35 +02:00