mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Extract out Help namespace
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
||||
using SabreTools.Help;
|
||||
using SabreTools.Library.DatFiles;
|
||||
using SabreTools.Library.DatItems;
|
||||
|
||||
@@ -16,9 +17,9 @@ namespace SabreTools.Features
|
||||
Name = Value;
|
||||
Flags = new List<string>() { "-d", "--d2d", "--dfd" };
|
||||
Description = "Create DAT(s) from an input directory";
|
||||
_featureType = Library.Help.FeatureType.Flag;
|
||||
_featureType = ParameterType.Flag;
|
||||
LongDescription = "Create a DAT file from an input directory or set of files. By default, this will output a DAT named based on the input directory and the current date. It will also treat all archives as possible games and add all three hashes (CRC, MD5, SHA-1) for each file.";
|
||||
Features = new Dictionary<string, Library.Help.Feature>();
|
||||
Features = new Dictionary<string, Help.Feature>();
|
||||
|
||||
// Hash Features
|
||||
AddFeature(SkipMd5Flag);
|
||||
@@ -52,7 +53,7 @@ namespace SabreTools.Features
|
||||
AddFeature(ThreadsInt32Input);
|
||||
}
|
||||
|
||||
public override void ProcessFeatures(Dictionary<string, Library.Help.Feature> features)
|
||||
public override void ProcessFeatures(Dictionary<string, Help.Feature> features)
|
||||
{
|
||||
base.ProcessFeatures(features);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user