- --max-attacks=AnyGijsNumber.

This commit is contained in:
ccremers
2005-08-15 12:49:32 +00:00
parent 998e4852ba
commit 1ee77472a0
5 changed files with 55 additions and 6 deletions

View File

@@ -47,6 +47,7 @@ switchesInit (int argc, char **argv)
switches.maxtracelength = INT_MAX;
switches.runs = INT_MAX;
switches.filterClaim = NULL; // default check all claims
switches.maxAttacks = 0; // no maximum default
// Modelchecker
switches.traverse = 12; // default traversal method
@@ -350,6 +351,21 @@ switcher (const int process, int index)
}
}
if (detect (' ', "max-attacks", 1))
{
if (!process)
{
/* not very important
helptext ("--max-attacks=<int>", "when not 0, maximum number of attacks [0]");
*/
}
else
{
switches.maxAttacks = integer_argument ();
return index;
}
}
if (detect ('p', "prune", 1))
{
if (!process)