Fix #485
This commit is contained in:
parent
22a32500ac
commit
d745b8c161
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue