diff --git a/RombaSharp/RombaSharp.cs b/RombaSharp/RombaSharp.cs index 350df363..004a8c96 100644 --- a/RombaSharp/RombaSharp.cs +++ b/RombaSharp/RombaSharp.cs @@ -126,6 +126,10 @@ namespace SabreTools case "miss": miss = true; break; + case "-only-needed": + case "--only-needed": + onlyNeeded = true; + break; case "purge-backup": purgeBackup = true; break; @@ -148,27 +152,6 @@ namespace SabreTools { newdat = temparg.Split('=')[1]; } - else if (temparg.StartsWith("-only-needed=")) - { - string temp = temparg.Split('=')[1].ToLowerInvariant(); - switch (temp) - { - case "true": - onlyNeeded = true; - break; - case "false": - onlyNeeded = false; - break; - default: - _logger.Error("Invalid value detected: " + temp); - Console.WriteLine(); - Build.Help(); - Console.WriteLine(); - _logger.Error("Invalid value detected: " + temp); - _logger.Close(); - return; - } - } else if (temparg.StartsWith("-out=") || temparg.StartsWith("--out=")) { outdat = temparg.Split('=')[1]; diff --git a/SabreTools.Helper/Data/Build.cs b/SabreTools.Helper/Data/Build.cs index 66d5bfbd..4bc6fd79 100644 --- a/SabreTools.Helper/Data/Build.cs +++ b/SabreTools.Helper/Data/Build.cs @@ -80,23 +80,23 @@ namespace SabreTools.Helper helptext.Add(""); helptext.Add("Options:"); helptext.Add(" -?, -h, --help Show this help"); - helptext.Add(" archive Adds ROM files from the specified directories to the ROM archive"); - helptext.Add(" -only-needed=(true|false) only archive ROM files actually referenced by DAT files from the DAT index"); - helptext.Add(" build For each specified DAT file it creates the torrentzip files"); + helptext.Add(" archive Adds ROM files from the specified directories to depot"); + helptext.Add(" -only-needed Only archive ROM files in database"); + helptext.Add(" build For each specified DAT file it creates TZip files"); helptext.Add(" dbstats Prints db stats"); - helptext.Add(" diffdat Creates a DAT file with those entries that are in a new DAT"); + helptext.Add(" diffdat Creates a DAT file for entries found in the new DAT"); helptext.Add(" -new= DAT to compare to"); helptext.Add(" dir2dat Creates a DAT file for the specified input directory"); helptext.Add(" -out= Filename to save out to"); helptext.Add(" fixdat For each specified DAT file it creates a fix DAT"); - helptext.Add(" lookup For each specified hash it looks up any available information"); - helptext.Add(" memstats Prints memory stats"); - helptext.Add(" miss For each specified DAT file it creates a miss file and a have file"); - helptext.Add(" progress Shows progress of the currently running command"); - helptext.Add(" purge-backup Moves DAT index entries for orphaned DATs"); - helptext.Add(" purge-delete Deletes DAT index entries for orphaned DATs"); - helptext.Add(" refresh-dats Refreshes the DAT index from the files in the DAT master directory tree"); - helptext.Add(" shutdown Gracefully shuts down server"); + helptext.Add(" lookup For each specified hash, look up available information"); + helptext.Add(" memstats Prints memory stats"); + helptext.Add(" miss For each specified DAT file, create miss and have file"); + helptext.Add(" progress Shows progress of currently running command [OBSOLETE]"); + helptext.Add(" purge-backup Moves DAT index entries for orphaned DATs"); + helptext.Add(" purge-delete Deletes DAT index entries for orphaned DATs"); + helptext.Add(" refresh-dats Refreshes the DAT index from the files in the DAT root"); + helptext.Add(" shutdown Gracefully shuts down server [OBSOLETE]"); break; case "SabreTools": helptext.Add(Resources.Resources.SabreTools_Name + " - " + Resources.Resources.SabreTools_Desc); diff --git a/SabreTools.Helper/Resources/Resources.Designer.cs b/SabreTools.Helper/Resources/Resources.Designer.cs index 5fc5cce2..87d728e9 100644 --- a/SabreTools.Helper/Resources/Resources.Designer.cs +++ b/SabreTools.Helper/Resources/Resources.Designer.cs @@ -88,7 +88,7 @@ namespace SabreTools.Helper.Resources { } /// - /// Looks up a localized string similar to C#port of the Romba rom management tool. + /// Looks up a localized string similar to C# port of the Romba rom management tool. /// public static string RombaSharp_Desc { get { diff --git a/SabreTools.Helper/Resources/Resources.resx b/SabreTools.Helper/Resources/Resources.resx index c572bdc0..3aa1026d 100644 --- a/SabreTools.Helper/Resources/Resources.resx +++ b/SabreTools.Helper/Resources/Resources.resx @@ -127,7 +127,7 @@ Headerer - C#port of the Romba rom management tool + C# port of the Romba rom management tool RombaSharp