diff options
author | Doug Kearns <dougkearns@gmail.com> | 2009-11-10 04:52:26 +1100 |
---|---|---|
committer | Doug Kearns <dougkearns@gmail.com> | 2009-11-10 04:52:26 +1100 |
commit | f09f6120e75736503eb0897504ae3e35d458f114 (patch) | |
tree | a5eab9d3b83a2f6b25b7e8aa760f65f2f6c2b8e2 /common/content/liberator.js | |
parent | 4658d7e21119aa99713eb564c3c7f66f9382c661 (diff) | |
download | pentadactyl-f09f6120e75736503eb0897504ae3e35d458f114.tar.gz |
Fix -{config.name} command-line processing.
--HG--
extra : rebase_source : 452d953121c4b28ea1585842710e0c74b4bef348
Diffstat (limited to 'common/content/liberator.js')
-rw-r--r-- | common/content/liberator.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/common/content/liberator.js b/common/content/liberator.js index 384a9f31..c9124b7a 100644 --- a/common/content/liberator.js +++ b/common/content/liberator.js @@ -136,8 +136,8 @@ const Liberator = Module("liberator", { /** * @property {Object} The map of command-line options. These are - * specified in the argument to the host application's -liberator - * option. E.g. $ firefox -liberator '+u=tempRcFile ++noplugin' + * specified in the argument to the host application's -{config.name} + * option. E.g. $ firefox -vimperator '+u=/tmp/rcfile ++noplugin' * Supported options: * +u=RCFILE Use RCFILE instead of .vimperatorrc. * ++noplugin Don't load plugins. @@ -1734,8 +1734,7 @@ const Liberator = Module("liberator", { liberator.log("All modules loaded", 3); - services.add("commandLineHandler", "@mozilla.org/commandlinehandler/general-startup;1?type=" + config.name.toLowerCase(), - Ci.nsICommandLineHandler); + services.add("commandLineHandler", "@mozilla.org/commandlinehandler/general-startup;1?type=" + config.name.toLowerCase()); let commandline = services.get("commandLineHandler").optionValue; if (commandline) { |