Fix split method in custom help

This commit is contained in:
Matt Nadareski
2025-10-07 12:37:54 -04:00
parent a261f428f2
commit 6ad9fa4521

View File

@@ -791,8 +791,8 @@ namespace SabreTools.CommandLine
// If custom help text is defined
if (CustomHelp != null)
{
CustomHelp = CustomHelp.Replace("\r\n", "\n");
string[] customLines = CustomHelp.Split("\n");
string customHelp = CustomHelp.Replace("\r\n", "\n");
string[] customLines = customHelp.Split('\n');
output.AddRange(customLines);
}
else