Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
neuecc committed Sep 9, 2024
1 parent 36f8853 commit 8e5c14c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ConsoleAppFramework/Parser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ void ParseParameterDescription(string originalDescription, out string[] aliases,
// Example:
// -h|--help, This is a help.

var splitOne = originalDescription.Split(',', 2);
var splitOne = originalDescription.Split([','], 2);

// has alias
if (splitOne[0].TrimStart().StartsWith("-"))
Expand Down

0 comments on commit 8e5c14c

Please sign in to comment.