mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 08:22:28 +01:00
Death to E4X and stuff.
This commit is contained in:
@@ -15,7 +15,7 @@ defineModule("commands", {
|
||||
|
||||
lazyRequire("help", ["help"]);
|
||||
lazyRequire("options", ["Option"]);
|
||||
lazyRequire("template", ["template"]);
|
||||
lazyRequire("template", ["template", "template_"]);
|
||||
|
||||
/**
|
||||
* A structure representing the options available for a command.
|
||||
@@ -1712,7 +1712,7 @@ var Commands = Module("commands", {
|
||||
this.iterate(args).filter(function (cmd) cmd.hive === commands.builtin || Set.has(tags, cmd.helpTag)),
|
||||
format: {
|
||||
headings: ["Command", "Group", "Description"],
|
||||
description: function (cmd) template.linkifyHelp(cmd.description + (cmd.replacementText ? ": " + cmd.action : "")),
|
||||
description: function (cmd) template_.linkifyHelp(cmd.description + (cmd.replacementText ? ": " + cmd.action : "")),
|
||||
help: function (cmd) ":" + cmd.name
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user