From 57dd869636ec69efd65170cb30794b0e980f98d8 Mon Sep 17 00:00:00 2001 From: Ilya Date: Wed, 8 Jan 2020 11:37:52 +0500 Subject: [PATCH] Correct startup error messages (#11473) --- .../resources/CommandLineParameterParserStrings.resx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Microsoft.PowerShell.ConsoleHost/resources/CommandLineParameterParserStrings.resx b/src/Microsoft.PowerShell.ConsoleHost/resources/CommandLineParameterParserStrings.resx index 0cbbd09f0e..9703420c25 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/resources/CommandLineParameterParserStrings.resx +++ b/src/Microsoft.PowerShell.ConsoleHost/resources/CommandLineParameterParserStrings.resx @@ -136,15 +136,18 @@ '-' was specified as the argument to -Command but standard input has not been redirected for this process. - The command cannot be run because no argument has been supplied for the OutputFormat parameter. Specify one of the following formats for this parameter. + The command cannot be run because no argument has been supplied for the OutputFormat parameter. +Specify one of the following formats for this parameter: {0} - Cannot process the command because the -InputFormat parameter requires an argument. Specify a valid format argument for this parameter. Valid formats are: + Cannot process the command because the -InputFormat parameter requires an argument. Specify a valid format argument for this parameter. +Valid formats are: {0} - Cannot process the command because of an incorrect parameter value. "{0}" is not a valid format. Valid formats are: + Cannot process the command because of an incorrect parameter value. "{0}" is not a valid format. +Valid formats are: {1}