More accurate xbuild cmdline error reporting
authorShay Rojansky <roji@eaglets.com>
Tue, 19 Jun 2012 08:07:49 +0000 (11:07 +0300)
committerShay Rojansky <roji@eaglets.com>
Tue, 19 Jun 2012 08:07:49 +0000 (11:07 +0300)
commit54a689690afc44fe6a7c837cc73f142009fc4631
tree26fea2fdb3801cd50d692236423dd7161ff2da18
parent4f75e8ca3d96fd59a7e0854bc46cf871ad60e2ae
More accurate xbuild cmdline error reporting

When an unknown switch is passed to xbuild, an explicit "unknown switch" error is reported. Previously, the switch was interpreted as an additional argument and resulted in a "Too many project files specified" error.
mcs/tools/xbuild/Parameters.cs