[SabreTools] Add Verify Depot to help

This commit is contained in:
Matt Nadareski
2017-02-02 13:36:23 -08:00
parent 84f5600a87
commit dbf8ed1d85

View File

@@ -751,17 +751,29 @@ namespace SabreTools
helptext.Add(" -qs, --quick Enable quick scanning of archives"); helptext.Add(" -qs, --quick Enable quick scanning of archives");
helptext.Add(" -h=, --header= Set a header skipper to use, blank means all"); helptext.Add(" -h=, --header= Set a header skipper to use, blank means all");
*/
// Create the Verify Depot feature // Create the Verify Depot feature
Feature verifyDepot = new Feature( Feature verifyDepot = new Feature(
new List<string>() { "-ved", "--verify-depot" }, new List<string>() { "-ved", "--verify-depot" },
"Verify a depot against DATs", "Verify a depot against DATs",
FeatureType.Flag, FeatureType.Flag,
null); null);
helptext.Add(" -dat= Input DAT to verify against"); verifyDepot.AddFeature("dat", new Feature(
helptext.Add(" -t=, --temp= Set the temporary directory to use"); new List<string>() { "-dat", "--dat" },
helptext.Add(" -h=, --header= Set a header skipper to use, blank means all"); "Input DAT to verify against",
FeatureType.List,
*/ null));
verifyDepot.AddFeature("temp", new Feature(
new List<string>() { "-t", "--temp" },
"Set the temporary directory to use",
FeatureType.String,
null));
verifyDepot.AddFeature("header", new Feature(
new List<string>() { "-h", "--header" },
"Set a header skipper to use, blank means all",
FeatureType.String,
null));
// Now, add all of the main features to the Help object // Now, add all of the main features to the Help object
help.Add("Help", helpFeature); help.Add("Help", helpFeature);
@@ -778,7 +790,7 @@ namespace SabreTools
//help.Add("Type Split", typeSplit); //help.Add("Type Split", typeSplit);
//help.Add("Update", update); //help.Add("Update", update);
//help.Add("Verify", verify); //help.Add("Verify", verify);
//help.Add("Verify Depot", verifyDepot); help.Add("Verify Depot", verifyDepot);
return help; return help;
} }