From ce32814679f6d66df71c24cac0378d07b9b91682 Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 27 Apr 2016 00:03:24 +0100 Subject: [PATCH] Updated Command structure comments --- src/command/commands.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/command/commands.h b/src/command/commands.h index 68d3947f..c5463d88 100644 --- a/src/command/commands.h +++ b/src/command/commands.h @@ -50,10 +50,12 @@ typedef struct cmd_help_t { * Command structure * * cmd - The command string including leading '/' - * func - The function to execute for the command * parser - The function used to parse arguments * min_args - Minimum number of arguments * max_args - Maximum number of arguments + * setting_func - Function to display current settings to the console + * sub_funcs - Optional list of functions mapped to the first argument + * func - Main function to call when no arguments, or sub_funcs not implemented * help - A help struct containing usage info etc */ typedef struct cmd_t {