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:
@@ -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 //////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user