commit d49b5e466e5b666c07298aa96791bb5b772fb2cd
parent 11443af4801fc3d79decb227372e53f13a9afad0
Author: hhvn <dev@hhvn.uk>
Date: Thu, 9 Dec 2021 21:49:01 +0000
commands.c hirc.1.footer: alias docs
Diffstat:
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/commands.c b/commands.c
@@ -85,7 +85,7 @@ struct Command commands[] = {
"Sets, clears, or checks topic in channel.",
"Provide only channel name to check.", NULL}},
{"bind", command_bind, {
- "usage: /bind [<keybind> [cmd]]",
+ "usage: /bind [<keybind> [cmd [..]]]",
" /bind -delete <keybind>",
"Bind command to key.",
"Accepts caret formatted control characters (eg, ^C).",
@@ -110,7 +110,7 @@ struct Command commands[] = {
"usage: /clear [-tmp]",
"Clear selected buffer of (temporary if -tmp) messages", NULL}},
{"alias", command_alias, {
- "usage: /alias [<alias> [cmd]]",
+ "usage: /alias [<alias> [cmd [...]]]",
" /alias -delete <alias>",
"Add or remove an alias that expands to a command.", NULL}},
{NULL, NULL},
diff --git a/hirc.1.footer b/hirc.1.footer
@@ -9,6 +9,10 @@ Connect to 'irc.hlirc.net' with the network name 'hlircnet'.
.Dl /bind ^[1 /select 1
Bind alt-1 so that it selects buffer 1.
+
+.Dl /alias /unalias /alias -delete
+Alias '/unalias' to '/alias -delete',
+so that '/unalias /command` is translated to `/alias -delete /command`
.Sh SEE ALSO
.Xr irssi 1
.Sh AUTHOR