From bd3efd0024b2c5f7d11096075005ea6cd6a8720e Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sat, 1 Oct 2011 02:57:36 -0400 Subject: [PATCH] Actually implement +purgecaches. --- common/content/dactyl.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/content/dactyl.js b/common/content/dactyl.js index db778156..17a72ea7 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -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"];