[SabreTools] Finish update to help

This commit is contained in:
Matt Nadareski
2017-02-02 16:09:33 -08:00
parent d1df0c7f31
commit 42f4e9db2f

View File

@@ -1102,26 +1102,62 @@ namespace SabreTools
"Filter by not SHA-1 hash", "Filter by not SHA-1 hash",
FeatureType.List, FeatureType.List,
null)); null));
update.AddFeature("status", new Feature(
/* new List<string>() { "-is", "--status" },
helptext.Add(" -is=, --status= Include only items with a given status"); "Include only items with a given status",
helptext.Add(" Supported values are:"); FeatureType.List,
helptext.Add(" None, Good, BadDump, Nodump, Verified"); new List<string>()
helptext.Add(" -nis=, --not-status= Exclude items with a given status"); {
helptext.Add(" Supported values are:"); " Supported values are:",
helptext.Add(" None, Good, BadDump, Nodump, Verified"); " None, Good, BadDump, Nodump, Verified",
helptext.Add(" -gt=, --game-type= Include only games with a given type"); }));
helptext.Add(" Supported values are:"); update.AddFeature("not-status", new Feature(
helptext.Add(" None, Bios, Device, Mechanical"); new List<string>() { "-nis", "--not-status" },
helptext.Add(" -ngt=, --not-gtype= Exclude only games with a given type"); "Exclude only items with a given status",
helptext.Add(" Supported values are:"); FeatureType.List,
helptext.Add(" None, Bios, Device, Mechanical"); new List<string>()
helptext.Add(" -run, --runnable Include only items that are marked runnable"); {
helptext.Add(" -nrun, --not-run Include only items that are marked unrunnable"); " Supported values are:",
helptext.Add(" -out= Output directory (overridden by --inplace)"); " None, Good, BadDump, Nodump, Verified",
helptext.Add(" -mt={4} Amount of threads to use (-1 unlimted)"); }));
update.AddFeature("game-type", new Feature(
*/ new List<string>() { "-gt", "--game-type" },
"Include only games with a given type",
FeatureType.List,
new List<string>()
{
" Supported values are:",
" None, Bios, Device, Mechanical",
}));
update.AddFeature("not-gtype", new Feature(
new List<string>() { "-ngt", "--not-gtype" },
"Exclude only games with a given type",
FeatureType.List,
new List<string>()
{
" Supported values are:",
" None, Bios, Device, Mechanical",
}));
update.AddFeature("runnable", new Feature(
new List<string>() { "-run", "--runnable" },
"Include only items that are marked runnable",
FeatureType.Flag,
null));
update.AddFeature("not-run", new Feature(
new List<string>() { "-nrun", "--not-run" },
"Include only items that are marked unrunnable",
FeatureType.Flag,
null));
update.AddFeature("out", new Feature(
new List<string>() { "-out", "--out" },
"Output directory (overridden by --inplace)",
FeatureType.String,
null));
update.AddFeature("mt", new Feature(
new List<string>() { "-mt", "--mt" },
"Amount of threads to use (default 4, -1 unlimited)",
FeatureType.String,
null));
// Create the Verify feature // Create the Verify feature
Feature verify = new Feature( Feature verify = new Feature(