Skip to content

Commit

Permalink
Merge pull request #21 from VelvetToroyashi/patch-1
Browse files Browse the repository at this point in the history
Quote parameter name for parsing errors
  • Loading branch information
Nihlus authored May 11, 2023
2 parents aa452c2 + 85964eb commit aae457a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Remora.Commands/Results/ParameterParsingError.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ namespace Remora.Commands.Results;
/// <param name="Parameter">The parameter that failed to parse.</param>
[PublicAPI]
public record ParameterParsingError(BoundParameterShape Parameter) :
ResultError($"Failed to parse the value of {Parameter.ParameterShape.HintName}.");
ResultError($"Failed to parse the value of \"{Parameter.ParameterShape.HintName}\".");

0 comments on commit aae457a

Please sign in to comment.