mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 11:24:10 +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);
|
args = dactyl.parseCommandLine(args);
|
||||||
|
|
||||||
if (args) {
|
if (args) {
|
||||||
|
if (args["+purgecaches"])
|
||||||
|
cache.flush();
|
||||||
|
|
||||||
dactyl.commandLineOptions.rcFile = args["+u"];
|
dactyl.commandLineOptions.rcFile = args["+u"];
|
||||||
dactyl.commandLineOptions.noPlugins = "++noplugin" in args;
|
dactyl.commandLineOptions.noPlugins = "++noplugin" in args;
|
||||||
dactyl.commandLineOptions.postCommands = args["+c"];
|
dactyl.commandLineOptions.postCommands = args["+c"];
|
||||||
|
|||||||
Reference in New Issue
Block a user