1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 02:12:27 +01:00

More dactyl.generateHelp improvements.

This commit is contained in:
Kris Maglione
2010-10-25 23:44:25 -04:00
parent cbcd5e8749
commit ca2ee77905
5 changed files with 37 additions and 19 deletions

View File

@@ -195,11 +195,11 @@ const History = Module("history", {
commands.add(["hist[ory]", "hs"],
"Show recently visited URLs",
function (args) { history.list(args.join(" "), args.bang, args["-max"] || 1000); }, {
function (args) { history.list(args.join(" "), args.bang, args["-max"]); }, {
bang: true,
completer: function (context) { context.quote = null; completion.history(context); },
// completer: function (filter) completion.history(filter)
options: [{ names: ["-max", "-m"], description: "The maximum number of items to list", type: CommandOption.INT }],
options: [{ names: ["-max", "-m"], description: "The maximum number of items to list", default: 1000, type: CommandOption.INT }],
privateData: true
});
},