From 48929aa92e533507cac013f514340eb3ba822729 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sat, 18 Oct 2014 00:18:10 +0100 Subject: [PATCH] Removed /help other --- TODO_045 | 4 ++++ TODO_ROLES | 2 -- src/command/command.c | 1 - src/command/commands.c | 4 ---- src/ui/console.c | 1 - 5 files changed, 4 insertions(+), 8 deletions(-) create mode 100644 TODO_045 delete mode 100644 TODO_ROLES diff --git a/TODO_045 b/TODO_045 new file mode 100644 index 00000000..0603bfe9 --- /dev/null +++ b/TODO_045 @@ -0,0 +1,4 @@ +Check all commands from private conversations +Test all freetext args +Make form editing commands less verbose +Check /help groupings (add new commands) diff --git a/TODO_ROLES b/TODO_ROLES deleted file mode 100644 index 57b564b6..00000000 --- a/TODO_ROLES +++ /dev/null @@ -1,2 +0,0 @@ -Check all commands from private conversations -Test all freetext args diff --git a/src/command/command.c b/src/command/command.c index c5f76f83..1579fe79 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -1050,7 +1050,6 @@ cmd_init(void) autocomplete_add(help_ac, "contacts"); autocomplete_add(help_ac, "service"); autocomplete_add(help_ac, "settings"); - autocomplete_add(help_ac, "other"); autocomplete_add(help_ac, "navigation"); // load command defs into hash table diff --git a/src/command/commands.c b/src/command/commands.c index 9cc2214d..60e07835 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -615,10 +615,6 @@ cmd_help(gchar **args, struct cmd_help_t help) "/titlebar", "/vercheck" }; _cmd_show_filtered_help("Settings commands", filter, ARRAY_SIZE(filter)); - } else if (strcmp(args[0], "other") == 0) { - gchar *filter[] = { "/vercheck" }; - _cmd_show_filtered_help("Other commands", filter, ARRAY_SIZE(filter)); - } else if (strcmp(args[0], "navigation") == 0) { cons_navigation_help(); } else { diff --git a/src/ui/console.c b/src/ui/console.c index 8fe6ce3e..d12edae8 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -1286,7 +1286,6 @@ _cons_help(void) cons_show("/help roster - List commands for manipulating your roster."); cons_show("/help service - List service discovery commands."); cons_show("/help settings - List commands for changing settings."); - cons_show("/help other - Other commands."); cons_show("/help navigation - How to navigate around Profanity."); cons_show("/help [command] - Detailed help on a specific command."); cons_show("");