1
0
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:
Kris Maglione
2011-01-19 05:31:41 -05:00
parent ff34528f15
commit c3ff9950bb
2 changed files with 45 additions and 19 deletions

View File

@@ -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)