1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-13 12:55:47 +01:00

Add tests for dead help links. Fix some minor bugs. Show error when trying to modify a builtin group rather than failing silently.

This commit is contained in:
Kris Maglione
2011-02-21 16:22:30 -05:00
parent d62c93aef0
commit 234f50bce8
18 changed files with 92 additions and 50 deletions

View File

@@ -463,6 +463,11 @@ var Contexts = Module("contexts", {
if (args.context)
args.context.group = group;
util.assert(!group.builtin ||
!["-description", "-locations", "-nopersist"]
.some(function (arg) set.has(args.explicitOpts, arg)),
"Cannot modify builtin group");
},
{
argCount: "?",