This commit is contained in:
Mike Lorbetske 2018-10-31 12:45:45 -07:00 committed by Mike Lorbetske
parent 22a32500ac
commit d745b8c161
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ namespace Microsoft.HttpRepl
shell.ShellState.ConsoleManager.AddBreakHandler(() => source.Cancel()); shell.ShellState.ConsoleManager.AddBreakHandler(() => source.Cancel());
if (args.Length > 0) if (args.Length > 0)
{ {
if (string.Equals(args[0], "--help", StringComparison.OrdinalIgnoreCase)) if (string.Equals(args[0], "--help", StringComparison.OrdinalIgnoreCase) || string.Equals(args[0], "-h", StringComparison.OrdinalIgnoreCase))
{ {
shell.ShellState.ConsoleManager.WriteLine("Usage: dotnet httprepl [<BASE_ADDRESS>] [options]"); shell.ShellState.ConsoleManager.WriteLine("Usage: dotnet httprepl [<BASE_ADDRESS>] [options]");
shell.ShellState.ConsoleManager.WriteLine(); shell.ShellState.ConsoleManager.WriteLine();