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(" 1 Only hash contents");
|
||||||
helptext.Add(" 2 Only hash archive");
|
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("");
|
||||||
helptext.Add("Filter parameters game name, rom name, CRC, MD5, SHA-1 can");
|
helptext.Add("Filter parameters game name, rom name, CRC, MD5, SHA-1 can");
|
||||||
helptext.Add("do partial matches using asterisks as follows (case insensitive):");
|
helptext.Add("do partial matches using asterisks as follows (case insensitive):");
|
||||||
|
|||||||
@@ -94,8 +94,9 @@ namespace SabreTools
|
|||||||
skip = false,
|
skip = false,
|
||||||
updateDat = false, // SimpleSort
|
updateDat = false, // SimpleSort
|
||||||
usegame = true;
|
usegame = true;
|
||||||
DiffMode diffMode = 0x0;
|
|
||||||
DatFormat datFormat = 0x0;
|
DatFormat datFormat = 0x0;
|
||||||
|
DiffMode diffMode = 0x0;
|
||||||
|
OutputFormat outputFormat = OutputFormat.Folder;
|
||||||
StatDatFormat statDatFormat = StatDatFormat.None;
|
StatDatFormat statDatFormat = StatDatFormat.None;
|
||||||
|
|
||||||
// User inputs
|
// User inputs
|
||||||
@@ -528,24 +529,6 @@ namespace SabreTools
|
|||||||
i++;
|
i++;
|
||||||
homepage = args[i];
|
homepage = args[i];
|
||||||
break;
|
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 "-is":
|
||||||
case "--status":
|
case "--status":
|
||||||
i++;
|
i++;
|
||||||
@@ -766,23 +749,6 @@ namespace SabreTools
|
|||||||
case "--homepage":
|
case "--homepage":
|
||||||
homepage = split[1];
|
homepage = split[1];
|
||||||
break;
|
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 "-is":
|
||||||
case "--status":
|
case "--status":
|
||||||
status = split[1];
|
status = split[1];
|
||||||
|
|||||||
Reference in New Issue
Block a user