added -assign flag, to assign blame to stack crawls.

This commit is contained in:
beard%netscape.com 1999-11-06 03:24:08 +00:00
parent 12a9f91fa5
commit 4b137d03f5

View File

@ -162,12 +162,16 @@ public class leaksoup {
// assume user want's lxr URLs. (why?)
FileLocator.USE_BLAME = false;
FileLocator.ASSIGN_BLAME = false;
for (int i = 0; i < args.length; i++) {
String arg = args[i];
if (arg.charAt(0) == '-') {
if (arg.equals("-blame"))
FileLocator.USE_BLAME = true;
else
if (arg.equals("-assign"))
FileLocator.ASSIGN_BLAME = true;
} else {
cook(arg);
}