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)
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.
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.
-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
@@ -1130,12 +1130,12 @@ Features and Options:
-fi=, --filter= Filter a game/rom field with the given value(s)
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.
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.
-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
@@ -1245,12 +1245,12 @@ Features and Options:
-fi=, --filter= Filter a game/rom field with the given value(s)
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.
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.
-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

View File

@@ -1313,7 +1313,7 @@ namespace SabreTools.Features
new List<string>() { "-fi", "--filter" },
"Filter a game/rom field with the given value(s)",
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.");
}
}