options: indicate ambiguous option parameters explicitly
commit507fa7e2c23623dcbecf20a392ee025002c83866
authorUoti Urpala <uau@mplayer2.org>
Wed, 27 Jul 2011 17:59:44 +0000 (27 20:59 +0300)
committerUoti Urpala <uau@mplayer2.org>
Fri, 29 Jul 2011 02:02:05 +0000 (29 05:02 +0300)
tree8bb5f2331af88dca98cfc799ac6ca45b09d775fe
parent0958620591375b41a8d21dd2a3501e1c9e5e9cba
options: indicate ambiguous option parameters explicitly

Command line options like "-foo xyz" are ambiguous: "xyz" may be a
parameter to the option "foo" or an unrelated argument. Instead of
relying on the struct m_config mode field (commandline/file) pass
parameters to specify ambiguous mode explicitly. Meant for "--foo"
options which are never ambiguous on command line either.
m_config.c
m_config.h
m_option.c
m_option.h
m_property.c
m_struct.c
osdep/macosx_finder_args.c
parser-cfg.c
parser-mpcmd.c
playtree.c
stream/stream.c