mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 10:47:59 +01:00
Make mapc/unmap hive-aware. Add :delmapgroup.
This commit is contained in:
@@ -919,7 +919,7 @@ var Commands = Module("commands", {
|
||||
if (opt.multiple)
|
||||
args[opt.names[0]] = (args[opt.names[0]] || []).concat(arg);
|
||||
else
|
||||
args[opt.names[0]] = opt.type == CommandOption.NOARG || arg;
|
||||
Class.replaceProperty(args, opt.names[0], opt.type == CommandOption.NOARG || arg);
|
||||
|
||||
i += optname.length + count;
|
||||
if (i == str.length)
|
||||
|
||||
Reference in New Issue
Block a user