summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-11 01:39:30 +0200
committerwm4 <wm4@nowhere>2014-04-11 01:39:30 +0200
commit2c2c1203c3ac296275da122780c50fa092917c6d (patch)
treeac9168294f0b26512abf5ad707c5b92510b3b761 /common
parent333c8cbc29c1d0c3e397af46f0cfc4c1beef2e7f (diff)
downloadmpv-2c2c1203c3ac296275da122780c50fa092917c6d.tar.bz2
mpv-2c2c1203c3ac296275da122780c50fa092917c6d.tar.xz
options: sort --list-options
Until now, --list-options printed options in random order. There literally wasn't any logic in its order, they just appeared as they were declared. So just sort them. Note that we can't sort them in advance, because for certain things internal to m_config, the order actually matters. Also we're using strcasecmp(), which is bad (locale dependent), but this is output intended for human consumption, so it's not a problem.
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions