summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--chatte.18
-rw-r--r--input.c1
2 files changed, 6 insertions, 3 deletions
diff --git a/chatte.1 b/chatte.1
index 980b152..fb9e2ac 100644
--- a/chatte.1
+++ b/chatte.1
@@ -97,6 +97,10 @@ Close the current view.
 All views after the current one
 are renumbered.
 .
+.It Ic /help
+Equivalent to
+.Ic /man .
+.
 .It Ic /join Ar chan
 Join a channel.
 .
@@ -349,9 +353,7 @@ usually the client IP address.
 .El
 .
 .Sh EXAMPLES
-.Bd -literal -offset indent
-chatte -h ascii.town -j '&chatte'
-.Ed
+.Dl chatte -h ascii.town -j '&chatte'
 .
 .Sh STANDARDS
 .Rs
diff --git a/input.c b/input.c
index 4497010..25e8a0d 100644
--- a/input.c
+++ b/input.c
@@ -152,6 +152,7 @@ static const struct {
 	Handler handler;
 } Commands[] = {
 	{ "/close", inputClose },
+	{ "/help", inputMan },
 	{ "/join", inputJoin },
 	{ "/man", inputMan },
 	{ "/me", inputMe },
2019-07-11 17:44:39 -0400'>2019-07-11Interpret 256color-style SGRsJune McEnroe 2019-07-11Use inline style rather than <b>, <i>, <u>June McEnroe 2019-07-11Factor out clearJune McEnroe 2019-07-11Add bright option to shottyJune McEnroe 2019-07-11Output <b>, <i>, <u> in shottyJune McEnroe 2019-07-10Ignore SM and RMJune McEnroe 2019-07-09Add shotty man page and build itJune McEnroe 2019-07-09Add up -cJune McEnroe 2019-07-09Add options for default colors to shottyJune McEnroe 2019-07-08Use char literals consistentlyJune McEnroe