aboutsummaryrefslogtreecommitdiff
path: root/include/command_parse.h
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-10-26 23:40:24 +0000
committerGravatar Sadie Powell2020-10-27 00:59:11 +0000
commit7cb27dabe695505d2eb7b942c4fbf518dda8e6b3 (patch)
tree12f7541d3389efa9a084d2a4859d6ce4ede43b03 /include/command_parse.h
parentReplace the check for eventfd() with a C++17 header check. (diff)
Convert CmdResult to an 8-bit strongly typed enum.
Diffstat (limited to 'include/command_parse.h')
-rw-r--r--include/command_parse.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/command_parse.h b/include/command_parse.h
index f44fd2db9..e56b7c7c4 100644
--- a/include/command_parse.h
+++ b/include/command_parse.h
@@ -64,9 +64,9 @@ class CoreExport CommandParser
* @param user The user to call the handler on behalf of
* @param cmd If non-NULL and the command was executed it is set to the command handler,
* otherwise it isn't written to.
- * @return This method will return CMD_SUCCESS if the command handler was found and called,
- * and the command completeld successfully. It will return CMD_FAILURE if the command handler was found
- * and called, but the command did not complete successfully, and it will return CMD_INVALID if the
+ * @return This method will return CmdResult::SUCCESS if the command handler was found and called,
+ * and the command completeld successfully. It will return CmdResult::FAILURE if the command handler was found
+ * and called, but the command did not complete successfully, and it will return CmdResult::INVALID if the
* command simply did not exist at all or the wrong number of parameters were given, or the user
* was not privilaged enough to execute the command.
*/