mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-27 11:56:14 +08:00
Change exe '-inputformat' switch prefix '-in' to '-inp' to fix conflict with '-interactive' (#13205)
This commit is contained in:
parent
2c18386d79
commit
8c22e5f7d0
@ -921,7 +921,7 @@ namespace Microsoft.PowerShell
|
||||
ParseFormat(args, ref i, ref _outFormat, CommandLineParameterParserStrings.MissingOutputFormatParameter);
|
||||
_outputFormatSpecified = true;
|
||||
}
|
||||
else if (MatchSwitch(switchKey, "inputformat", "in") || MatchSwitch(switchKey, "if", "if"))
|
||||
else if (MatchSwitch(switchKey, "inputformat", "inp") || MatchSwitch(switchKey, "if", "if"))
|
||||
{
|
||||
ParseFormat(args, ref i, ref _inFormat, CommandLineParameterParserStrings.MissingInputFormatParameter);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user