From cac6421b4794746e88e8365e42aee67311e66e4c Mon Sep 17 00:00:00 2001 From: "Steve Lee (POWERSHELL)" Date: Thu, 11 Jun 2020 15:29:43 -0700 Subject: [PATCH] Fix conflicting shorthand switch `-w` for pwsh --- .../host/msh/CommandLineParameterParser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.PowerShell.ConsoleHost/host/msh/CommandLineParameterParser.cs b/src/Microsoft.PowerShell.ConsoleHost/host/msh/CommandLineParameterParser.cs index b74c1982c48..f65736a52dc 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/host/msh/CommandLineParameterParser.cs +++ b/src/Microsoft.PowerShell.ConsoleHost/host/msh/CommandLineParameterParser.cs @@ -858,7 +858,7 @@ private void ParseHelper(string[] args) #if DEBUG // this option is useful when debugging ConsoleHost remotely using VS remote debugging, as you can only // attach to an already running process with that debugger. - else if (MatchSwitch(switchKey, "wait", "w")) + else if (MatchSwitch(switchKey, "wait", "wa")) { // This does not need to be localized: its chk only