From 23ea7cd67d6db2feaa04db759547b98922d665a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 23 Aug 2014 12:39:02 +0200 Subject: [PATCH] core: add missing return code in comment of function hook_command_exec --- src/core/wee-hook.c | 6 ++++-- 1 file 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 */