mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-02 14:25:47 +01:00
Update straggler commands to use CommandOption.
--HG-- extra : rebase_source : c151758b643249af238cb60d7b04ba2c1bb5dbc6
This commit is contained in:
@@ -107,9 +107,9 @@ const Addressbook = Module("addressbook", {
|
||||
},
|
||||
{
|
||||
argCount: "+",
|
||||
options: [[["-firstname", "-f"], commands.OPTION_STRING],
|
||||
[["-lastname", "-l"], commands.OPTION_STRING],
|
||||
[["-name", "-n"], commands.OPTION_STRING]]
|
||||
options: [{ names: ["-firstname", "-f"], type: CommandOption.STRING, description: "The first name of the contact" },
|
||||
{ names: ["-lastname", "-l"], type: CommandOption.STRING, description: "The last name of the contact" },
|
||||
{ names: ["-name", "-n"], type: CommandOption.STRING, description: "The display name of the contact" }]
|
||||
});
|
||||
|
||||
commands.add(["contacts", "addr[essbook]"],
|
||||
|
||||
Reference in New Issue
Block a user