mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-01 23:32:25 +01:00
Actually implement +purgecaches.
This commit is contained in:
@@ -1843,6 +1843,9 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
args = dactyl.parseCommandLine(args);
|
||||
|
||||
if (args) {
|
||||
if (args["+purgecaches"])
|
||||
cache.flush();
|
||||
|
||||
dactyl.commandLineOptions.rcFile = args["+u"];
|
||||
dactyl.commandLineOptions.noPlugins = "++noplugin" in args;
|
||||
dactyl.commandLineOptions.postCommands = args["+c"];
|
||||
|
||||
Reference in New Issue
Block a user