mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-03 15:24:11 +01:00
Banish old commands.parseArgs prototype.
This commit is contained in:
@@ -1109,7 +1109,7 @@ const Dactyl = Module("dactyl", {
|
||||
[["+c"], CommandOption.STRING, null, null, true]
|
||||
].map(CommandOption.fromArray, CommandOption);
|
||||
try {
|
||||
return commands.parseArgs(cmdline, options, "*");
|
||||
return commands.parseArgs(cmdline, { options: options, argCount: "*" });
|
||||
}
|
||||
catch (e) {
|
||||
dactyl.reportError(e, true);
|
||||
|
||||
Reference in New Issue
Block a user