mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-29 10:35:45 +01:00
Clarify some arg counts and some related tests.
--HG-- extra : rebase_source : e50c757b46406988b0bfa0c179ec1e9bad21a446
This commit is contained in:
@@ -1886,7 +1886,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
util.rehash(args);
|
||||
},
|
||||
{
|
||||
argCount: "0",
|
||||
argCount: "0", // FIXME
|
||||
options: [
|
||||
{
|
||||
names: ["+u"],
|
||||
@@ -2024,7 +2024,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
dactyl.echoerr(e);
|
||||
}
|
||||
}, {
|
||||
argCount: "+",
|
||||
argCount: "1",
|
||||
bang: true,
|
||||
completer: function (context) {
|
||||
if (/^:/.test(context.filter))
|
||||
@@ -2055,7 +2055,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
vbs.setFrom = setFrom;
|
||||
}
|
||||
}, {
|
||||
argCount: "+",
|
||||
argCount: "1",
|
||||
completer: function (context) completion.ex(context),
|
||||
count: true,
|
||||
literal: 0,
|
||||
|
||||
Reference in New Issue
Block a user