Make filter help text more accurate

This commit is contained in:
Matt Nadareski
2025-04-14 10:45:56 -04:00
parent c96399ad3d
commit 6344f6eb73
2 changed files with 19 additions and 19 deletions

View File

@@ -400,12 +400,12 @@ Features and Options:
-fi=, --filter= Filter a game/rom field with the given value(s) -fi=, --filter= Filter a game/rom field with the given value(s)
Filter any valid item or machine field from inputs. Filters are input Filter any valid item or machine field from inputs. Filters are input
in the form 'key=value' or 'key!=value', where the '!' signifies 'not in the form 'type.key=value' or 'type.key!=value', where the '!'
matching'. Numeric values may also prefix the 'value' with '>', '<', signifies 'not matching'. Numeric values may also use extra
or '=' accordingly. Key examples include: romof, category, and game. operations, namely '>', '>=', '<', and '<='. Key examples include:
Additionally, the user can specify an exact match or full C#-style item.romof, machine.category, and game.name. Additionally, the user
regex for pattern matching. Multiple instances of this flag are can specify an exact match or full C#-style regex for pattern
allowed. matching. Multiple instances of this flag are allowed.
-ofg, --match-of-tags Allow cloneof and romof tags to match game name filters -ofg, --match-of-tags Allow cloneof and romof tags to match game name filters
If filter or exclude by game name is used, this flag will allow those If filter or exclude by game name is used, this flag will allow those
@@ -1130,12 +1130,12 @@ Features and Options:
-fi=, --filter= Filter a game/rom field with the given value(s) -fi=, --filter= Filter a game/rom field with the given value(s)
Filter any valid item or machine field from inputs. Filters are input Filter any valid item or machine field from inputs. Filters are input
in the form 'key=value' or 'key!=value', where the '!' signifies 'not in the form 'type.key=value' or 'type.key!=value', where the '!'
matching'. Numeric values may also prefix the 'value' with '>', '<', signifies 'not matching'. Numeric values may also use extra
or '=' accordingly. Key examples include: romof, category, and game. operations, namely '>', '>=', '<', and '<='. Key examples include:
Additionally, the user can specify an exact match or full C#-style item.romof, machine.category, and game.name. Additionally, the user
regex for pattern matching. Multiple instances of this flag are can specify an exact match or full C#-style regex for pattern
allowed. matching. Multiple instances of this flag are allowed.
-ofg, --match-of-tags Allow cloneof and romof tags to match game name filters -ofg, --match-of-tags Allow cloneof and romof tags to match game name filters
If filter or exclude by game name is used, this flag will allow those If filter or exclude by game name is used, this flag will allow those
@@ -1245,12 +1245,12 @@ Features and Options:
-fi=, --filter= Filter a game/rom field with the given value(s) -fi=, --filter= Filter a game/rom field with the given value(s)
Filter any valid item or machine field from inputs. Filters are input Filter any valid item or machine field from inputs. Filters are input
in the form 'key=value' or 'key!=value', where the '!' signifies 'not in the form 'type.key=value' or 'type.key!=value', where the '!'
matching'. Numeric values may also prefix the 'value' with '>', '<', signifies 'not matching'. Numeric values may also use extra
or '=' accordingly. Key examples include: romof, category, and game. operations, namely '>', '>=', '<', and '<='. Key examples include:
Additionally, the user can specify an exact match or full C#-style item.romof, machine.category, and game.name. Additionally, the user
regex for pattern matching. Multiple instances of this flag are can specify an exact match or full C#-style regex for pattern
allowed. matching. Multiple instances of this flag are allowed.
-ofg, --match-of-tags Allow cloneof and romof tags to match game name filters -ofg, --match-of-tags Allow cloneof and romof tags to match game name filters
If filter or exclude by game name is used, this flag will allow those If filter or exclude by game name is used, this flag will allow those

View File

@@ -1313,7 +1313,7 @@ namespace SabreTools.Features
new List<string>() { "-fi", "--filter" }, new List<string>() { "-fi", "--filter" },
"Filter a game/rom field with the given value(s)", "Filter a game/rom field with the given value(s)",
ParameterType.List, ParameterType.List,
longDescription: "Filter any valid item or machine field from inputs. Filters are input in the form 'key=value' or 'key!=value', where the '!' signifies 'not matching'. Numeric values may also prefix the 'value' with '>', '<', or '=' accordingly. Key examples include: romof, category, and game. Additionally, the user can specify an exact match or full C#-style regex for pattern matching. Multiple instances of this flag are allowed."); longDescription: "Filter any valid item or machine field from inputs. Filters are input in the form 'type.key=value' or 'type.key!=value', where the '!' signifies 'not matching'. Numeric values may also use extra operations, namely '>', '>=', '<', and '<='. Key examples include: item.romof, machine.category, and game.name. Additionally, the user can specify an exact match or full C#-style regex for pattern matching. Multiple instances of this flag are allowed.");
} }
} }