mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[SabreTools, DatFile] Get flag usage and override working for sort/sort-depot/verify/verify-depot
This commit is contained in:
@@ -1231,6 +1231,26 @@ namespace SabreTools
|
||||
"Set a header skipper to use, blank means all",
|
||||
FeatureType.String,
|
||||
null));
|
||||
verify.AddFeature("dat-merged", new Feature(
|
||||
new List<string>() { "-dm", "--dat-merged" },
|
||||
"Force checking merged sets",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
verify.AddFeature("dat-split", new Feature(
|
||||
new List<string>() { "-ds", "--dat-split" },
|
||||
"Force checking split sets",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
verify.AddFeature("dat-nonmerged", new Feature(
|
||||
new List<string>() { "-dnm", "--dat-nonmerged" },
|
||||
"Force checking non-merged sets",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
verify.AddFeature("dat-fullnonmerged", new Feature(
|
||||
new List<string>() { "-df", "--dat-fullnonmerged" },
|
||||
"Force checking fully non-merged sets",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
|
||||
// Create the Verify Depot feature
|
||||
Feature verifyDepot = new Feature(
|
||||
@@ -1253,6 +1273,26 @@ namespace SabreTools
|
||||
"Set a header skipper to use, blank means all",
|
||||
FeatureType.String,
|
||||
null));
|
||||
verifyDepot.AddFeature("dat-merged", new Feature(
|
||||
new List<string>() { "-dm", "--dat-merged" },
|
||||
"Force checking merged sets",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
verifyDepot.AddFeature("dat-split", new Feature(
|
||||
new List<string>() { "-ds", "--dat-split" },
|
||||
"Force checking split sets",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
verifyDepot.AddFeature("dat-nonmerged", new Feature(
|
||||
new List<string>() { "-dnm", "--dat-nonmerged" },
|
||||
"Force checking non-merged sets",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
verifyDepot.AddFeature("dat-fullnonmerged", new Feature(
|
||||
new List<string>() { "-df", "--dat-fullnonmerged" },
|
||||
"Force checking fully non-merged sets",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
|
||||
// Now, add all of the main features to the Help object
|
||||
help.Add("Help", helpFeature);
|
||||
|
||||
Reference in New Issue
Block a user