mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[Build] Update help and flags
This commit is contained in:
@@ -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];
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -88,7 +88,7 @@ namespace SabreTools.Helper.Resources {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 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.
|
||||
/// </summary>
|
||||
public static string RombaSharp_Desc {
|
||||
get {
|
||||
|
||||
@@ -127,7 +127,7 @@
|
||||
<value>Headerer</value>
|
||||
</data>
|
||||
<data name="RombaSharp_Desc" xml:space="preserve">
|
||||
<value>C#port of the Romba rom management tool</value>
|
||||
<value>C# port of the Romba rom management tool</value>
|
||||
</data>
|
||||
<data name="RombaSharp_Name" xml:space="preserve">
|
||||
<value>RombaSharp</value>
|
||||
|
||||
Reference in New Issue
Block a user