mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
added -assign flag, to assign blame to stack crawls.
This commit is contained in:
parent
12a9f91fa5
commit
4b137d03f5
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user