From 64aa4d5661a7783016aa2c8721888c0ab9917070 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Thu, 2 Feb 2017 15:46:05 -0800 Subject: [PATCH] [SabreTools] One more milestone for update in help --- SabreTools/Partials/SabreTools.Help.cs | 139 ++++++++++++++++++++----- 1 file changed, 113 insertions(+), 26 deletions(-) diff --git a/SabreTools/Partials/SabreTools.Help.cs b/SabreTools/Partials/SabreTools.Help.cs index ff14a505..117cbe88 100644 --- a/SabreTools/Partials/SabreTools.Help.cs +++ b/SabreTools/Partials/SabreTools.Help.cs @@ -795,33 +795,120 @@ namespace SabreTools "Output in Logiqx XML format [default]", FeatureType.Flag, null)); + update.AddFeature("filename", new Feature( + new List() { "-f", "--filename" }, + "Set a new filename", + FeatureType.String, + null)); + update.AddFeature("name", new Feature( + new List() { "-n", "--name" }, + "Set a new internal name", + FeatureType.String, + null)); + update.AddFeature("desc", new Feature( + new List() { "-de", "--desc" }, + "Set a new description", + FeatureType.String, + null)); + update.AddFeature("rootdir", new Feature( + new List() { "-r", "--root" }, + "Set a new rootdir", + FeatureType.String, + null)); + update.AddFeature("category", new Feature( + new List() { "-ca", "--category" }, + "Set a new category", + FeatureType.String, + null)); + update.AddFeature("version", new Feature( + new List() { "-v", "--version" }, + "Set a new version", + FeatureType.String, + null)); + update.AddFeature("date", new Feature( + new List() { "-da", "--date" }, + "Set a new date", + FeatureType.String, + null)); + update.AddFeature("author", new Feature( + new List() { "-au", "--author" }, + "Set a new author", + FeatureType.String, + null)); + update.AddFeature("email", new Feature( + new List() { "-em", "--email" }, + "Set a new email", + FeatureType.String, + null)); + update.AddFeature("homepage", new Feature( + new List() { "-hp", "--homepage" }, + "Set a new homepage", + FeatureType.String, + null)); + update.AddFeature("url", new Feature( + new List() { "-u", "--url" }, + "Set a new URL", + FeatureType.String, + null)); + update.AddFeature("comment", new Feature( + new List() { "-co", "--comment" }, + "Set a new comment", + FeatureType.String, + null)); + update.AddFeature("header", new Feature( + new List() { "-h", "--header" }, + "Set a new header skipper", + FeatureType.String, + null)); + update.AddFeature("superdat", new Feature( + new List() { "-sd", "--superdat" }, + "Set SuperDAT type", + FeatureType.Flag, + null)); + update.AddFeature("forcemerge", new Feature( + new List() { "-fm", "--forcemerge" }, + "Set force merging", + FeatureType.String, + new List() + { + " Supported values are:", + " None, Split, Full", + })); + update.AddFeature("forcend", new Feature( + new List() { "-fn", "--forcend" }, + "Set force nodump", + FeatureType.String, + new List() + { + " Supported values are:", + " None, Obsolete, Required, Ignore", + })); + update.AddFeature("forcepack", new Feature( + new List() { "-fp", "--forcepack" }, + "Set force packing", + FeatureType.String, + new List() + { + " Supported values are:", + " None, Zip, Unzip", + })); + update.AddFeature("exclude-of", new Feature( + new List() { "-xof", "--exclude-of" }, + "Exclude romof, cloneof, sampleof tags", + FeatureType.Flag, + null)); + update.AddFeature("clean", new Feature( + new List() { "-clean", "--clean" }, + "Clean game names according to WoD standards", + FeatureType.Flag, + null)); + update.AddFeature("softlist", new Feature( + new List() { "-sl", "--softlist" }, + "Use Software List name instead of description", + FeatureType.Flag, + null)); + /* - helptext.Add(" -f=, --filename= Set a new filename"); - helptext.Add(" -n=, --name= Set a new internal name"); - helptext.Add(" -de=, --desc= Set a new description"); - helptext.Add(" -r=, --root= Set a new rootdir"); - helptext.Add(" -ca=, --category= Set a new category"); - helptext.Add(" -v=, --version= Set a new version"); - helptext.Add(" -da=, --date= Set a new date"); - helptext.Add(" -au=, --author= Set a new author"); - helptext.Add(" -em=, --email= Set a new email"); - helptext.Add(" -hp=, --homepage= Set a new homepage"); - helptext.Add(" -u=, --url= Set a new URL"); - helptext.Add(" -co=, --comment= Set a new comment"); - helptext.Add(" -h=, --header= Set a new header skipper"); - helptext.Add(" -sd=, --superdat Set SuperDAT type"); - helptext.Add(" -fm=, --forcemerge= Set force merging"); - helptext.Add(" Supported values are:"); - helptext.Add(" None, Split, Full"); - helptext.Add(" -fn=, --forcend= Set force nodump"); - helptext.Add(" Supported values are:"); - helptext.Add(" None, Obsolete, Required, Ignore"); - helptext.Add(" -fp=, --forcepack= Set force packing"); - helptext.Add(" Supported values are:"); - helptext.Add(" None, Zip, Unzip"); - helptext.Add(" -xof, --exclude-of Exclude romof, cloneof, sampleof tags"); - helptext.Add(" -clean Clean game names according to WoD standards"); - helptext.Add(" -sl, --softlist Use Software List name instead of description"); helptext.Add(" -dm, --dat-merged Create merged sets"); helptext.Add(" -ds, --dat-split Create split sets"); helptext.Add(" -dnm, --dat-nonmerged Create non-merged sets");