mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Fix batch filtering for per machine
This commit is contained in:
@@ -177,10 +177,10 @@ Reset the internal state: reset();";
|
|||||||
Field filterField = command.Arguments[0].AsField();
|
Field filterField = command.Arguments[0].AsField();
|
||||||
string filterValue = command.Arguments[1];
|
string filterValue = command.Arguments[1];
|
||||||
bool? filterRemove = false;
|
bool? filterRemove = false;
|
||||||
if (command.Arguments.Count == 3)
|
if (command.Arguments.Count >= 3)
|
||||||
filterRemove = command.Arguments[2].AsYesNo();
|
filterRemove = command.Arguments[2].AsYesNo();
|
||||||
bool? filterPerMachine = false;
|
bool? filterPerMachine = false;
|
||||||
if (command.Arguments.Count == 4)
|
if (command.Arguments.Count >= 4)
|
||||||
filterPerMachine = command.Arguments[3].AsYesNo();
|
filterPerMachine = command.Arguments[3].AsYesNo();
|
||||||
|
|
||||||
// If we had an invalid input, log and continue
|
// If we had an invalid input, log and continue
|
||||||
|
|||||||
Reference in New Issue
Block a user