mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[Help] Fix things
This commit is contained in:
@@ -1,12 +1,8 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using SabreTools.Library.Data;
|
||||
|
||||
namespace SabreTools.Library.Help
|
||||
{
|
||||
// TODO: Parse and return flags from arguments
|
||||
// TODO: Perform partial matching to find potentially similar features
|
||||
public class Help
|
||||
{
|
||||
#region Private variables
|
||||
@@ -206,7 +202,7 @@ namespace SabreTools.Library.Help
|
||||
}
|
||||
|
||||
// Otherwise, we want to get features with the same start
|
||||
else if (_features[feature].StartsWith(featurename[0]))
|
||||
else if (_features[feature].StartsWith(featurename.TrimStart('-')[0]))
|
||||
{
|
||||
startsWith.Add(feature);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user