- Added '--remove-claims' switch to cut off all existing claims.

This commit is contained in:
ccremers
2005-12-27 13:53:49 +00:00
parent ca4c5674ac
commit ccc4c34823
3 changed files with 179 additions and 156 deletions

View File

@@ -74,6 +74,7 @@ switchesInit (int argc, char **argv)
// Misc
switches.switchP = 0; // multi-purpose parameter
switches.experimental = 0; // experimental stuff defaults to 0, whatever that means.
switches.removeclaims = false; // default: leave claims from spdl file
// Output
switches.output = SUMMARY; // default is to show a summary
@@ -378,6 +379,22 @@ switcher (const int process, int index)
}
}
if (detect (' ', "remove-claims", 0))
{
if (!process)
{
/* discourage:
*
* Causes all existing claims in the specification to be skipped.
*/
}
else
{
switches.removeclaims = true;
return index;
}
}
/* ==================
* Bounding options
*/