fix spelling error

This commit is contained in:
jonsequitur 2017-03-22 13:04:58 -07:00
parent 485237a8a0
commit 53f9b4f427
2 changed files with 5 additions and 5 deletions

View file

@ -207,7 +207,7 @@ namespace Microsoft.DotNet.Cli.CommandLine
throw new CommandParsingException( throw new CommandParsingException(
command, command,
"Required command missing", "Required command missing",
isRequireSubCommandMissing: true); isRequiredSubCommandMissing: true);
} }
return command.Invoke(); return command.Invoke();

View file

@ -8,7 +8,7 @@ namespace Microsoft.DotNet.Cli.CommandLine
{ {
internal class CommandParsingException : Exception internal class CommandParsingException : Exception
{ {
private readonly bool _isRequireSubCommandMissing; private readonly bool _isRequiredSubCommandMissing;
public CommandParsingException( public CommandParsingException(
string message, string message,
@ -21,11 +21,11 @@ namespace Microsoft.DotNet.Cli.CommandLine
public CommandParsingException( public CommandParsingException(
CommandLineApplication command, CommandLineApplication command,
string message, string message,
bool isRequireSubCommandMissing = false) bool isRequiredSubCommandMissing = false)
: this(message) : this(message)
{ {
Command = command; Command = command;
_isRequireSubCommandMissing = isRequireSubCommandMissing; _isRequiredSubCommandMissing = isRequiredSubCommandMissing;
} }
public CommandLineApplication Command { get; } public CommandLineApplication Command { get; }
@ -36,7 +36,7 @@ namespace Microsoft.DotNet.Cli.CommandLine
{ {
get get
{ {
return _isRequireSubCommandMissing return _isRequiredSubCommandMissing
? CommonLocalizableStrings.RequiredCommandNotPassed ? CommonLocalizableStrings.RequiredCommandNotPassed
: base.Message; : base.Message;
} }