Add /help equivalent to /man

weechat-hashes
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 All views after the current one
are renumbered. are renumbered.
. .
.It Ic /help
Equivalent to
.Ic /man .
.
.It Ic /join Ar chan .It Ic /join Ar chan
Join a channel. Join a channel.
. .
@ -349,9 +353,7 @@ usually the client IP address.
.El .El
. .
.Sh EXAMPLES .Sh EXAMPLES
.Bd -literal -offset indent .Dl chatte -h ascii.town -j '&chatte'
chatte -h ascii.town -j '&chatte'
.Ed
. .
.Sh STANDARDS .Sh STANDARDS
.Rs .Rs

View File

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