about 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 },