File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ typedef struct {
81
81
const char * cmd ; /**< Name of command */
82
82
int min_arg ; /**< Minimum arguments */
83
83
int max_arg ; /**< Maximum arguments */
84
+ cmd_handler_f cmdfn ;/**< Command handler function */
84
85
const char * help ; /**< Short help message */
85
86
const char * usage ; /**< Long help message with usage */
86
87
int type ; /**< Command type flags command_type_e */
@@ -91,7 +92,7 @@ typedef struct {
91
92
* @param _name Name of command
92
93
* @param _minarg Minimum number of arguments including command (must be >= 1)
93
94
* @param _maxarg Maximum number of arguments including command (must be >= 1 & <= CMD_MAX_ARGS)
94
- * @param _cmd Command function
95
+ * @param _cmd Command handler function
95
96
* @param _help Short help message
96
97
* @param _usage Long help message and usage detail
97
98
* @param _type Command type flag see command_type_e
You can’t perform that action at this time.
0 commit comments