summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-07-28 22:55:15 +0300
committerUoti Urpala <uau@mplayer2.org>2011-07-29 05:50:38 +0300
commit0010ffefc49e57551bf2098082136ffddf6e4445 (patch)
tree3dae8c7cc28d74f495ea4435377267d9c5e227a8 /command.c
parentf25accbc510b641ac75a1f274376616417763ae5 (diff)
downloadmpv-0010ffefc49e57551bf2098082136ffddf6e4445.tar.bz2
mpv-0010ffefc49e57551bf2098082136ffddf6e4445.tar.xz
options: commandline: allow "--" without filenames after it
A "--" argument on the command line is used to indicate that all following arguments should be interpreted as filenames, not options. Specifying it as the last argument was considered an error. I see no particular reason to forbid the following filename list to be empty, nor do other programs with similar functionalitly I know about treat it that way. So just ignore a "--" with no more arguments.
Diffstat (limited to 'command.c')
0 files changed, 0 insertions, 0 deletions