Add /help equivalent to /man

master
Curtis McEnroe 2018-09-11 16:10:49 -04:00
parent 2c65f663bf
commit 3d9f808a60
No known key found for this signature in database
GPG Key ID: CEA2F97ADCFCD77C
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -152,6 +152,7 @@ static const struct {
Handler handler;
} Commands[] = {
{ "/close", inputClose },
{ "/help", inputMan },
{ "/join", inputJoin },
{ "/man", inputMan },
{ "/me", inputMe },