help text adjustments for dotnet sln

This commit is contained in:
Jon Sequeira 2017-03-14 11:23:19 -07:00
parent 96683c1421
commit 898d10cb2d
5 changed files with 14 additions and 14 deletions

View file

@ -79,7 +79,7 @@ namespace Microsoft.DotNet.Cli
}
catch (HelpException e)
{
Reporter.Output.Write(e.Message);
Reporter.Output.WriteLine(e.Message);
return 0;
}
catch (Exception e) when (e.ShouldBeDisplayedAsError())
@ -92,7 +92,7 @@ namespace Microsoft.DotNet.Cli
}
catch (Exception e) when (!e.ShouldBeDisplayedAsError())
{
Reporter.Output.WriteLine(e.ToString().Red().Bold());
Reporter.Error.WriteLine(e.ToString().Red().Bold());
return 1;
}