diff options
author | wm4 <wm4@nowhere> | 2018-02-13 03:16:29 +0100 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-02-13 17:45:29 -0800 |
commit | 223821d91c7ace8a4f7f726f1868bf2ae76b90ba (patch) | |
tree | 4083f216ae0b3cb6205ba3e73387345038a93fcc /LICENSE.LGPL | |
parent | d7c38a0b23970569afe76f1c647c895506bfb65d (diff) | |
download | mpv-223821d91c7ace8a4f7f726f1868bf2ae76b90ba.tar.bz2 mpv-223821d91c7ace8a4f7f726f1868bf2ae76b90ba.tar.xz |
options: minor cleanup to --no-... handling
Most options starting with --no-<name> are automatically translated to
--<name>=no. Make the code slightly nicer by using a flag instead of
explicitly comparing option types. Also fix an issue that made the
option parser print nonsense error messages for if --no-... was used for
options which don't support it.
Diffstat (limited to 'LICENSE.LGPL')
0 files changed, 0 insertions, 0 deletions