From 3d9f808a600e33a444f8dd666a4e379c282e388b Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Tue, 11 Sep 2018 16:10:49 -0400 Subject: [PATCH] Add /help equivalent to /man --- chatte.1 | 8 +++++--- input.c | 1 + 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 },