diff options
author | James Booth <boothj5@gmail.com> | 2013-07-03 21:23:18 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-07-03 21:23:18 +0100 |
commit | 817857e4c0d986226b7c213debca9de4f32e979a (patch) | |
tree | a44977c22f9d84bc776c27504a197a02e5f9e3e1 | |
parent | e933572ab9d79f389e99e028643c19f4604251b0 (diff) | |
download | profani-tty-817857e4c0d986226b7c213debca9de4f32e979a.tar.gz |
Fixed naming clash for roster help
-rw-r--r-- | src/command/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/command.c b/src/command/command.c index 4af0da96..63d003f4 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -870,7 +870,7 @@ cmd_init(void) autocomplete_add(help_ac, strdup("chatting")); autocomplete_add(help_ac, strdup("groupchat")); autocomplete_add(help_ac, strdup("presence")); - autocomplete_add(help_ac, strdup("roster")); + autocomplete_add(help_ac, strdup("contacts")); autocomplete_add(help_ac, strdup("service")); autocomplete_add(help_ac, strdup("settings")); autocomplete_add(help_ac, strdup("other")); @@ -1739,7 +1739,7 @@ _cmd_help(gchar **args, struct cmd_help_t help) "/xa" }; _cmd_show_filtered_help("Presence commands", filter, ARRAY_SIZE(filter)); - } else if (strcmp(args[0], "roster") == 0) { + } else if (strcmp(args[0], "contacts") == 0) { gchar *filter[] = { "/group", "/roster", "/sub", "/who" }; _cmd_show_filtered_help("Roster commands", filter, ARRAY_SIZE(filter)); |