diff --git a/src/switches.c b/src/switches.c index 562eda9..3080d06 100644 --- a/src/switches.c +++ b/src/switches.c @@ -564,9 +564,9 @@ switcher (const int process, int index, int commandline) /* * Deprecated : use --untyped instead * - helptext ("-m, --match=", - "type matching method [0] 0: No type-flaws allowed, 1: Allow basic type-flaws only, 2: Allow all type-flaws"); - */ + helptext ("-m, --match=", + "type matching method [0] 0: No type-flaws allowed, 1: Allow basic type-flaws only, 2: Allow all type-flaws"); + */ } else { @@ -579,8 +579,7 @@ switcher (const int process, int index, int commandline) { if (!process) { - helptext ("-u, --untyped", - "Consider all variables to be untyped"); + helptext ("-u, --untyped", "Consider all variables to be untyped"); } else { @@ -626,6 +625,20 @@ switcher (const int process, int index, int commandline) } } + if (detect (' ', "unbounded", 0)) + { + if (!process) + { + helptext (" --unbounded", + "Do not bound the number of runs in the state space."); + } + else + { + switches.runs = INT_MAX; + return index; + } + } + if (detect ('l', "max-length", 1)) { if (!process)