mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 17:12:28 +01:00
add help bang Easter Egg
This commit is contained in:
@@ -283,7 +283,16 @@ const liberator = (function () //{{{
|
||||
|
||||
liberator.commands.add(["h[elp]"],
|
||||
"Display help",
|
||||
function (args) { liberator.help(args); },
|
||||
function (args, special)
|
||||
{
|
||||
if (special)
|
||||
{
|
||||
liberator.echoerr("E478: Don't panic!");
|
||||
return;
|
||||
}
|
||||
|
||||
liberator.help(args);
|
||||
},
|
||||
{
|
||||
completer: function (filter) { return getHelpCompletions(filter); }
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user