Bug 469076: handle -silent in default cmdline handler r=bsmedberg

This commit is contained in:
Taras Glek
2008-12-18 12:05:46 -08:00
parent 1d6e695dc5
commit 62b7e07a0f

View File

@@ -114,6 +114,10 @@ var nsDefaultCLH = {
dump(out + "\n");
Components.utils.reportError(out);
}
if (cmdLine.handleFlag("silent", false)) {
cmdLine.preventDefault = true;
}
if (cmdLine.preventDefault)
return;