mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[SabreTools] Add flags and help for SHA384/512
This commit is contained in:
@@ -51,7 +51,17 @@ namespace SabreTools
|
||||
null));
|
||||
datFromDir.AddFeature("noSHA256", new Feature(
|
||||
new List<string>() { "-ns256", "--noSHA256" },
|
||||
"Don't include SHA256 in output",
|
||||
"Don't include SHA-256 in output",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
datFromDir.AddFeature("noSHA384", new Feature(
|
||||
new List<string>() { "-ns384", "--noSHA384" },
|
||||
"Don't include SHA-384 in output",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
datFromDir.AddFeature("noSHA512", new Feature(
|
||||
new List<string>() { "-ns512", "--noSHA512" },
|
||||
"Don't include SHA-512 in output",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
datFromDir.AddFeature("bare", new Feature(
|
||||
@@ -138,6 +148,16 @@ namespace SabreTools
|
||||
"Output in SHA-256 format",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
datFromDir.AddFeature("output-sha384", new Feature(
|
||||
new List<string>() { "-osha384", "--output-sha384" },
|
||||
"Output in SHA-256 format",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
datFromDir.AddFeature("output-sha512", new Feature(
|
||||
new List<string>() { "-osha512", "--output-sha512" },
|
||||
"Output in SHA-256 format",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
datFromDir.AddFeature("output-sl", new Feature(
|
||||
new List<string>() { "-osl", "--output-sl" },
|
||||
"Output in Softwarelist format",
|
||||
@@ -717,7 +737,7 @@ namespace SabreTools
|
||||
"Prefix and postfix can include certain fields from the",
|
||||
"items by including %blah% in the input.",
|
||||
"A list of features that can be used are:",
|
||||
" game, name, crc, md5, sha1, sha256, size",
|
||||
" game, name, crc, md5, sha1, sha256, sha384, sha512, size",
|
||||
}));
|
||||
update["output-miss"].AddFeature("roms", new Feature(
|
||||
new List<string>() { "-r", "--roms" },
|
||||
@@ -829,6 +849,26 @@ namespace SabreTools
|
||||
"Add game name as a prefix",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
update.AddFeature("output-sha384", new Feature(
|
||||
new List<string>() { "-osha384", "--output-sha384" },
|
||||
"Output in SHA-384 format",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
update["output-sha384"].AddFeature("game-prefix", new Feature(
|
||||
new List<string>() { "-gp", "--game-prefix" },
|
||||
"Add game name as a prefix",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
update.AddFeature("output-sha512", new Feature(
|
||||
new List<string>() { "-osha512", "--output-sha512" },
|
||||
"Output in SHA-512 format",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
update["output-sha512"].AddFeature("game-prefix", new Feature(
|
||||
new List<string>() { "-gp", "--game-prefix" },
|
||||
"Add game name as a prefix",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
update.AddFeature("output-sl", new Feature(
|
||||
new List<string>() { "-osl", "--output-sl" },
|
||||
"Output in Softwarelist format",
|
||||
@@ -981,6 +1021,16 @@ namespace SabreTools
|
||||
"Remove SHA-256 hashes from the output",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
update.AddFeature("rem-sha384", new Feature(
|
||||
new List<string>() { "-rsha384", "--rem-sha384" },
|
||||
"Remove SHA-384 hashes from the output",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
update.AddFeature("rem-sha512", new Feature(
|
||||
new List<string>() { "-rsha512", "--rem-sha512" },
|
||||
"Remove SHA-512 hashes from the output",
|
||||
FeatureType.Flag,
|
||||
null));
|
||||
update.AddFeature("desc-name", new Feature(
|
||||
new List<string>() { "-dan", "--desc-name" },
|
||||
"Use description instead of machine name",
|
||||
@@ -1196,6 +1246,26 @@ namespace SabreTools
|
||||
"Filter by not SHA-256 hash",
|
||||
FeatureType.List,
|
||||
null));
|
||||
update.AddFeature("sha384", new Feature(
|
||||
new List<string>() { "-sha384", "--sha384" },
|
||||
"Filter by SHA-384 hash",
|
||||
FeatureType.List,
|
||||
null));
|
||||
update.AddFeature("not-sha384", new Feature(
|
||||
new List<string>() { "-nsha384", "--not-sha384" },
|
||||
"Filter by not SHA-384 hash",
|
||||
FeatureType.List,
|
||||
null));
|
||||
update.AddFeature("sha512", new Feature(
|
||||
new List<string>() { "-sha512", "--sha512" },
|
||||
"Filter by SHA-512 hash",
|
||||
FeatureType.List,
|
||||
null));
|
||||
update.AddFeature("not-sha512", new Feature(
|
||||
new List<string>() { "-nsha512", "--not-sha512" },
|
||||
"Filter by not SHA-512 hash",
|
||||
FeatureType.List,
|
||||
null));
|
||||
update.AddFeature("status", new Feature(
|
||||
new List<string>() { "-is", "--status" },
|
||||
"Include only items with a given status",
|
||||
|
||||
Reference in New Issue
Block a user