Fix batch filtering for per machine

This commit is contained in:
Matt Nadareski
2020-09-19 15:54:21 -07:00
parent ae3bae2d0a
commit 195aaba308

View File

@@ -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