dotnet-msbuild loc

This commit is contained in:
Piotr Puszkiewicz 2016-12-16 21:09:58 -08:00 committed by Livar Cunha
parent 469abc2d96
commit 2b983f916f
2 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1,7 @@
namespace Microsoft.DotNet.Tools.MSBuild
{
internal class LocalizableStrings
{
public const string VerbosityOptionDescription = "Set the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]";
}
}

View file

@ -74,7 +74,7 @@ namespace Microsoft.DotNet.Tools.MSBuild
internal static CommandOption AddVerbosityOption(CommandLineApplication app)
{
return app.Option("-v|--verbosity", "Set the verbosity level of the command. Allowed values are q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic]", CommandOptionType.SingleValue);
return app.Option("-v|--verbosity", LocalizableStrings.VerbosityOptionDescription, CommandOptionType.SingleValue);
}
private static string GetMSBuildExePath()