mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 11:38:00 +01:00
Fix typo that breaks parsing of command line arguments.
This commit is contained in:
@@ -2069,7 +2069,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
|||||||
if (!services.commandLineHandler)
|
if (!services.commandLineHandler)
|
||||||
services.add("commandLineHandler", "@mozilla.org/commandlinehandler/general-startup;1?type=" + config.name);
|
services.add("commandLineHandler", "@mozilla.org/commandlinehandler/general-startup;1?type=" + config.name);
|
||||||
|
|
||||||
if (services.commandlinehandler) {
|
if (services.commandLineHandler) {
|
||||||
let commandline = services.commandLineHandler.optionValue;
|
let commandline = services.commandLineHandler.optionValue;
|
||||||
if (commandline) {
|
if (commandline) {
|
||||||
let args = dactyl.parseCommandLine(commandline);
|
let args = dactyl.parseCommandLine(commandline);
|
||||||
|
|||||||
Reference in New Issue
Block a user