Added /pgp libver command

This commit is contained in:
James Booth
2015-03-22 00:29:57 +00:00
parent 1d90cc7894
commit fd86615549
5 changed files with 34 additions and 5 deletions

View File

@@ -850,10 +850,12 @@ static struct cmd_t command_defs[] =
{ "/pgp",
cmd_pgp, parse_args, 1, 1, NULL,
{ "/pgp keys", "Open PGP.",
{ "/pgp keys",
"---------",
{ "/pgp keys|libver", "Open PGP.",
{ "/pgp keys|libver",
"----------------",
"Open PGP.",
"keys : List private keys."
"libver : Show which version of the libgpgme library is being used.",
NULL } } },
{ "/otr",
@@ -1575,6 +1577,7 @@ cmd_init(void)
pgp_ac = autocomplete_new();
autocomplete_add(pgp_ac, "keys");
autocomplete_add(pgp_ac, "libver");
}
void