added detailed help function

This commit is contained in:
prozessorkern
2021-01-24 19:46:12 +01:00
parent e3c35bd0d5
commit a5bd5c57ab
7 changed files with 470 additions and 142 deletions

View File

@@ -109,7 +109,7 @@ typedef struct shellmatta_cmd
char *cmd; /**< command name */
char *cmdAlias; /**< command alias */
char *helpText; /**< help text to print in "help" command */
char *usageText; /**< usage text to print on parameter error */
char *usageText; /**< usage text - printed on "help cmd" */
shellmatta_cmdFct_t cmdFct; /**< pointer to the cmd callack function */
struct shellmatta_cmd *next; /**< pointer to next command or NULL */
} shellmatta_cmd_t;