summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/wee-command.c2
-rw-r--r--src/plugins/alias/alias.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index e37ebc35c..28e49b3db 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -7808,7 +7808,7 @@ command_init ()
" /set irc.server.oftc.command \"/msg nickserv identify "
"${sec.data.oftc}\"\n"
" alias to ghost the nick \"mynick\":\n"
- " /alias ghost /eval /msg -server freenode nickserv ghost mynick "
+ " /alias add ghost /eval /msg -server freenode nickserv ghost mynick "
"${sec.data.freenode}"),
"passphrase -delete"
" || decrypt -discard"
diff --git a/src/plugins/alias/alias.c b/src/plugins/alias/alias.c
index 48631604b..d4e3126ff 100644
--- a/src/plugins/alias/alias.c
+++ b/src/plugins/alias/alias.c
@@ -526,7 +526,7 @@ alias_hook_command (struct t_alias *alias)
/*
* if alias has no custom completion, then default is to complete with
* completion template of target command, for example if alias is
- * "/alias test /buffer", then str_completion will be "%%buffer"
+ * "/alias add test /buffer", then str_completion will be "%%buffer"
*/
str_completion = NULL;
if (!alias->completion)