From 8e5c14ca9f63150948eb7e96ae5b2d86449c2492 Mon Sep 17 00:00:00 2001 From: neuecc Date: Mon, 9 Sep 2024 19:01:07 +0900 Subject: [PATCH] fix --- src/ConsoleAppFramework/Parser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ConsoleAppFramework/Parser.cs b/src/ConsoleAppFramework/Parser.cs index 7176383..44245b7 100644 --- a/src/ConsoleAppFramework/Parser.cs +++ b/src/ConsoleAppFramework/Parser.cs @@ -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("-"))