From d745b8c161d42665ceb51597888062336fec7764 Mon Sep 17 00:00:00 2001 From: Mike Lorbetske Date: Wed, 31 Oct 2018 12:45:45 -0700 Subject: [PATCH] Fix #485 --- src/Microsoft.HttpRepl/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.HttpRepl/Program.cs b/src/Microsoft.HttpRepl/Program.cs index e41a36ff21..308996ff2c 100644 --- a/src/Microsoft.HttpRepl/Program.cs +++ b/src/Microsoft.HttpRepl/Program.cs @@ -52,7 +52,7 @@ namespace Microsoft.HttpRepl shell.ShellState.ConsoleManager.AddBreakHandler(() => source.Cancel()); 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 [] [options]"); shell.ShellState.ConsoleManager.WriteLine();