mono/mono — pull request #333 by roji (2012-06-19 08:12:55+00:00)
Title: 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.