mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 12:47:58 +01:00
Fix eaten error.
This commit is contained in:
@@ -78,7 +78,6 @@ command.invalidOptArg-2 = Invalid argument for option %S: %S
|
|||||||
command.invalidOptTypeArg-3 = Invalid argument for %S option %S: %S
|
command.invalidOptTypeArg-3 = Invalid argument for %S option %S: %S
|
||||||
command.parsing-1 = Error parsing arguments: %S
|
command.parsing-1 = Error parsing arguments: %S
|
||||||
command.none = No user-defined commands found
|
command.none = No user-defined commands found
|
||||||
command.unknownCompleter-1 = E117: Unknown function: %S
|
|
||||||
command.exists = E174: Command already exists: add ! to replace it
|
command.exists = E174: Command already exists: add ! to replace it
|
||||||
command.noPrevious = E30: No previous command line
|
command.noPrevious = E30: No previous command line
|
||||||
command.noRange = E481: No range allowed
|
command.noRange = E481: No range allowed
|
||||||
|
|||||||
@@ -1377,6 +1377,7 @@ var Commands = Module("commands", {
|
|||||||
}
|
}
|
||||||
catch (e) {
|
catch (e) {
|
||||||
util.reportError(e);
|
util.reportError(e);
|
||||||
|
cmdContext.message = _("error.error", e);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1424,9 +1425,12 @@ var Commands = Module("commands", {
|
|||||||
return context.completions = result;
|
return context.completions = result;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
|
util.assert(set.has(config.completers, completer),
|
||||||
|
_("command.unknownCompleter", completer));
|
||||||
completerFunc = function (context) modules.completion.closure[config.completers[completer]](context);
|
completerFunc = function (context) modules.completion.closure[config.completers[completer]](context);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
let added = args["-group"].add(cmd.split(","),
|
let added = args["-group"].add(cmd.split(","),
|
||||||
args["-description"],
|
args["-description"],
|
||||||
|
|||||||
Reference in New Issue
Block a user