about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-10-27 20:52:45 +0000
committerJames Booth <boothj5@gmail.com>2014-10-27 20:52:45 +0000
commitb6c116e8b66bf6e23ba3fc5ef53993c3f24bced6 (patch)
treec8b247292a6b4638895381fdb8088dc482a5460e
parentd1e99ab920970d28e1064ca36751be5a58281230 (diff)
downloadprofani-tty-b6c116e8b66bf6e23ba3fc5ef53993c3f24bced6.tar.gz
Updated help
-rw-r--r--src/command/commands.c8
-rw-r--r--src/ui/console.c7
2 files changed, 8 insertions, 7 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 0dc26fff..b8ed63e0 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -586,7 +586,7 @@ cmd_help(gchar **args, struct cmd_help_t help)
     } else if (strcmp(args[0], "basic") == 0) {
         gchar *filter[] = { "/about", "/clear", "/close", "/connect",
             "/disconnect", "/help", "/msg", "/join", "/quit", "/vercheck",
-            "/wins" };
+            "/wins", "/ping" };
         _cmd_show_filtered_help("Basic commands", filter, ARRAY_SIZE(filter));
 
     } else if (strcmp(args[0], "chatting") == 0) {
@@ -597,8 +597,8 @@ cmd_help(gchar **args, struct cmd_help_t help)
 
     } else if (strcmp(args[0], "groupchat") == 0) {
         gchar *filter[] = { "/close", "/clear", "/decline", "/grlog",
-            "/invite", "/invites", "/join", "/leave", "/notify", "/msg",
-            "/rooms", "/tiny", "/who", "/nick", "/privileges" };
+            "/invite", "/invites", "/join", "/leave", "/notify", "/msg", "/room",
+            "/rooms", "/tiny", "/who", "/nick", "/privileges", "/info", "/occupants" };
         _cmd_show_filtered_help("Groupchat commands", filter, ARRAY_SIZE(filter));
 
     } else if (strcmp(args[0], "presence") == 0) {
@@ -620,7 +620,7 @@ cmd_help(gchar **args, struct cmd_help_t help)
             "/chlog", "/flash", "/gone", "/grlog", "/history", "/intype",
             "/log", "/mouse", "/notify", "/outtype", "/prefs", "/priority",
             "/reconnect", "/roster", "/splash", "/states", "/statuses", "/theme",
-            "/titlebar", "/vercheck", "/privileges" };
+            "/titlebar", "/vercheck", "/privileges", "/occupants" };
         _cmd_show_filtered_help("Settings commands", filter, ARRAY_SIZE(filter));
 
     } else if (strcmp(args[0], "navigation") == 0) {
diff --git a/src/ui/console.c b/src/ui/console.c
index ae31ac11..277a06ce 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -1308,7 +1308,7 @@ _cons_help(void)
     cons_show("/help chatting   - List chat commands.");
     cons_show("/help groupchat  - List groupchat commands.");
     cons_show("/help presence   - List commands to change presence.");
-    cons_show("/help roster     - List commands for manipulating your roster.");
+    cons_show("/help contacts   - 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 navigation - How to navigate around Profanity.");
@@ -1330,11 +1330,12 @@ _cons_navigation_help(void)
     cons_show("Alt-RIGHT                        : Next chat window");
     cons_show("UP, DOWN                         : Navigate input history.");
     cons_show("LEFT, RIGHT, HOME, END           : Edit current input.");
-    cons_show("CTRL-LEFT, CTRL-RIGHT            : Jump word in input.");
+    cons_show("Ctrl-LEFT, Ctrl-RIGHT            : Jump word in input.");
     cons_show("ESC                              : Clear current input.");
     cons_show("TAB                              : Autocomplete.");
     cons_show("PAGE UP, PAGE DOWN               : Page the main window.");
-    cons_show("SHIFT-PAGE UP, SHIFT-PAGE DOWN   : Page the main window.");
+    cons_show("Shift-UP, Shift-DOWN             : Page the occupants panel.");
+    cons_show("Ctrl-UP, Ctrl-DOWN               : Page the occupants panel.");
     cons_show("");
 
     cons_alert();