Skip to content

Commit 57dd869

Browse files
authored
Correct startup error messages (PowerShell#11473)
1 parent 57da778 commit 57dd869

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/Microsoft.PowerShell.ConsoleHost/resources/CommandLineParameterParserStrings.resx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,15 +136,18 @@
136136
<value>'-' was specified as the argument to -Command but standard input has not been redirected for this process.</value>
137137
</data>
138138
<data name="MissingOutputFormatParameter" xml:space="preserve">
139-
<value>The command cannot be run because no argument has been supplied for the OutputFormat parameter. Specify one of the following formats for this parameter.
139+
<value>The command cannot be run because no argument has been supplied for the OutputFormat parameter.
140+
Specify one of the following formats for this parameter:
140141
{0}</value>
141142
</data>
142143
<data name="MissingInputFormatParameter" xml:space="preserve">
143-
<value>Cannot process the command because the -InputFormat parameter requires an argument. Specify a valid format argument for this parameter. Valid formats are:
144+
<value>Cannot process the command because the -InputFormat parameter requires an argument. Specify a valid format argument for this parameter.
145+
Valid formats are:
144146
{0}</value>
145147
</data>
146148
<data name="BadFormatParameterValue" xml:space="preserve">
147-
<value>Cannot process the command because of an incorrect parameter value. "{0}" is not a valid format. Valid formats are:
149+
<value>Cannot process the command because of an incorrect parameter value. "{0}" is not a valid format.
150+
Valid formats are:
148151
{1}</value>
149152
</data>
150153
<data name="ArgsAlreadySpecified" xml:space="preserve">

0 commit comments

Comments
 (0)