mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-08-01 05:29:20 +00:00
Remove useless all files flag
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Test
|
||||
p.ProgressChanged += Changed;
|
||||
|
||||
// Set initial values for scanner flags
|
||||
bool debug = false, allFiles = false, archives = true, packers = true;
|
||||
bool debug = false, archives = true, packers = true;
|
||||
var inputPaths = new List<string>();
|
||||
|
||||
// Loop through the arguments to get the flags
|
||||
@@ -37,11 +37,6 @@ namespace Test
|
||||
debug = true;
|
||||
break;
|
||||
|
||||
case "-a":
|
||||
case "--all-files":
|
||||
allFiles = true;
|
||||
break;
|
||||
|
||||
case "-na":
|
||||
case "--no-archives":
|
||||
archives = false;
|
||||
@@ -71,7 +66,6 @@ namespace Test
|
||||
var scanner = new Scanner(p)
|
||||
{
|
||||
IncludeDebug = debug,
|
||||
ScanAllFiles = allFiles,
|
||||
ScanArchives = archives,
|
||||
ScanPackers = packers,
|
||||
};
|
||||
@@ -98,7 +92,6 @@ namespace Test
|
||||
Console.WriteLine("Possible options:");
|
||||
Console.WriteLine("-?, -h, --help Display this help text and quit");
|
||||
Console.WriteLine("-d, --debug Enable debug mode");
|
||||
Console.WriteLine("-a, --all-files Force scanning all files");
|
||||
Console.WriteLine("-na, --no-archives Disable scanning archives");
|
||||
Console.WriteLine("-np, --no-packers Disable scanning for packers");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user