summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-08-23 12:39:02 +0200
committerSébastien Helleu <flashcode@flashtux.org>2014-08-23 12:39:02 +0200
commit23ea7cd67d6db2feaa04db759547b98922d665a7 (patch)
tree1f00a52e87c122acd9830a7906a994d43cffd53b /src
parenteac426f625e71519be52f68d143822ead53b79f3 (diff)
downloadweechat-23ea7cd67d6db2feaa04db759547b98922d665a7.zip
core: add missing return code in comment of function hook_command_exec
Diffstat (limited to 'src')
-rw-r--r--src/core/wee-hook.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/wee-hook.c b/src/core/wee-hook.c
index fd437f844..015056ef8 100644
--- a/src/core/wee-hook.c
+++ b/src/core/wee-hook.c
@@ -658,8 +658,10 @@ hook_command (struct t_weechat_plugin *plugin, const char *command,
* HOOK_COMMAND_EXEC_OK: command executed successfully
* HOOK_COMMAND_EXEC_ERROR: command executed and failed
* HOOK_COMMAND_EXEC_NOT_FOUND: command not found
- * HOOK_COMMAND_EXEC_AMBIGUOUS: command is ambiguous (same command exists for
- * another plugin, and we don't know which one to run)
+ * HOOK_COMMAND_EXEC_AMBIGUOUS_PLUGINS: command is ambiguous (same command
+ * exists for another plugin, and we don't know which one to run)
+ * HOOK_COMMAND_EXEC_AMBIGUOUS_INCOMPLETE: command is ambiguous (incomplete
+ * command and multiple commands start with this name)
* HOOK_COMMAND_EXEC_RUNNING: command is already running
*/