[mono-api-html] Add the [Obsolete] message for API additions and removals
[mono.git] / mcs / tools / xbuild / Main.cs
index 16cf7ea2ed5a6573a8899041f95acce84ae93d3c..5dc9b50b2fdb2034e1992704e201ff10f095318c 100644 (file)
@@ -8,6 +8,7 @@
 //
 // (C) 2005 Marek Sieradzki
 // Copyright 2009 Novell, Inc (http://www.novell.com)
+// Copyright 2011 Xamarin Inc (http://www.xamarin.com).
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
@@ -154,11 +155,6 @@ namespace Mono.XBuild.CommandLine {
                        catch (CommandLineException cle) {
                                ErrorUtilities.ReportError(cle.ErrorCode, show_stacktrace ? cle.ToString() : cle.Message);
                        }
-
-                       catch (Exception) {
-                               throw;
-                       }
-                       
                        finally {
                                if (engine != null)
                                        engine.UnregisterAllLoggers ();
@@ -200,6 +196,7 @@ namespace Mono.XBuild.CommandLine {
                                break;
 
                        case "xterm-color":
+                       case "xterm-256color":
                                xterm_colors = true;
                                break;
                        }