aboutsummaryrefslogtreecommitdiffstats
path: root/src/command
diff options
context:
space:
mode:
Diffstat (limited to 'src/command')
-rw-r--r--src/command/command.c1
-rw-r--r--src/command/commands.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/command/command.c b/src/command/command.c
index 1d99e56a..c43e968e 100644
--- a/src/command/command.c
+++ b/src/command/command.c
@@ -1299,6 +1299,7 @@ cmd_init(void)
autocomplete_add(prefs_ac, "conn");
autocomplete_add(prefs_ac, "presence");
autocomplete_add(prefs_ac, "otr");
+ autocomplete_add(prefs_ac, "pgp");
notify_ac = autocomplete_new();
autocomplete_add(notify_ac, "message");
diff --git a/src/command/commands.c b/src/command/commands.c
index 38f15a74..f865b873 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -905,6 +905,10 @@ cmd_prefs(ProfWin *window, gchar **args, struct cmd_help_t help)
cons_show("");
cons_show_otr_prefs();
cons_show("");
+ } else if (strcmp(args[0], "pgp") == 0) {
+ cons_show("");
+ cons_show_pgp_prefs();
+ cons_show("");
} else {
cons_show("Usage: %s", help.usage);
}