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

add bangAllowed property to Command's extraInfo to specify whether the bang

version of the command is available
This commit is contained in:
Doug Kearns
2008-10-04 09:00:36 +00:00
parent 690ce8d8e2
commit 156fa5d56f
16 changed files with 166 additions and 171 deletions

View File

@@ -126,15 +126,16 @@ liberator.Addressbook = function () //{{{
},
{
argCount: "+",
options: [[["-firstname", "-f"], liberator.commands.OPTION_STRING],
[["-lastname", "-l"], liberator.commands.OPTION_STRING],
[["-name", "-n"], liberator.commands.OPTION_STRING]],
argCount: "+"
[["-name", "-n"], liberator.commands.OPTION_STRING]]
});
liberator.commands.add(["contacts", "addr[essbook]"],
"List or open multiple addresses",
function (args, special) { liberator.addressbook.list(args, special); });
function (args, special) liberator.addressbook.list(args, special),
{ bangAllowed: true });
/////////////////////////////////////////////////////////////////////////////}}}
////////////////////// PUBLIC SECTION //////////////////////////////////////////