mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[SabreTools, Build] Remove --input flag
This commit is contained in:
@@ -359,10 +359,6 @@ namespace SabreTools.Helper.Data
|
||||
helptext.Add(" 1 Only hash contents");
|
||||
helptext.Add(" 2 Only hash archive");
|
||||
|
||||
helptext.Add("");
|
||||
helptext.Add("Filenames and directories can't start with a reserved string");
|
||||
helptext.Add("unless prefixed by 'input='");
|
||||
|
||||
helptext.Add("");
|
||||
helptext.Add("Filter parameters game name, rom name, CRC, MD5, SHA-1 can");
|
||||
helptext.Add("do partial matches using asterisks as follows (case insensitive):");
|
||||
|
||||
@@ -94,8 +94,9 @@ namespace SabreTools
|
||||
skip = false,
|
||||
updateDat = false, // SimpleSort
|
||||
usegame = true;
|
||||
DiffMode diffMode = 0x0;
|
||||
DatFormat datFormat = 0x0;
|
||||
DiffMode diffMode = 0x0;
|
||||
OutputFormat outputFormat = OutputFormat.Folder;
|
||||
StatDatFormat statDatFormat = StatDatFormat.None;
|
||||
|
||||
// User inputs
|
||||
@@ -528,24 +529,6 @@ namespace SabreTools
|
||||
i++;
|
||||
homepage = args[i];
|
||||
break;
|
||||
case "-input":
|
||||
case "--input":
|
||||
i++;
|
||||
if (File.Exists(args[i]) || Directory.Exists(args[i]))
|
||||
{
|
||||
inputs.Add(args[i]);
|
||||
}
|
||||
else
|
||||
{
|
||||
_logger.Error("Invalid input detected: " + args[i]);
|
||||
Console.WriteLine();
|
||||
Build.Help("SabreTools");
|
||||
Console.WriteLine();
|
||||
_logger.Error("Invalid input detected: " + args[i]);
|
||||
_logger.Close();
|
||||
return;
|
||||
}
|
||||
break;
|
||||
case "-is":
|
||||
case "--status":
|
||||
i++;
|
||||
@@ -766,23 +749,6 @@ namespace SabreTools
|
||||
case "--homepage":
|
||||
homepage = split[1];
|
||||
break;
|
||||
case "-input":
|
||||
case "--input":
|
||||
if (File.Exists(split[1]) || Directory.Exists(split[1]))
|
||||
{
|
||||
inputs.Add(split[1]);
|
||||
}
|
||||
else
|
||||
{
|
||||
_logger.Error("Invalid input detected: " + args[i]);
|
||||
Console.WriteLine();
|
||||
Build.Help("SabreTools");
|
||||
Console.WriteLine();
|
||||
_logger.Error("Invalid input detected: " + args[i]);
|
||||
_logger.Close();
|
||||
return;
|
||||
}
|
||||
break;
|
||||
case "-is":
|
||||
case "--status":
|
||||
status = split[1];
|
||||
|
||||
Reference in New Issue
Block a user