added the help command variable to the instance structure to get independant commands for each instance fix #42
This commit is contained in:
@@ -140,6 +140,7 @@ typedef struct
|
||||
const char *prompt; /**< prompt is printed after every command */
|
||||
shellmatta_mode_t mode; /**< mode of the shell */
|
||||
shellmatta_write_t write; /**< pointer to write function */
|
||||
shellmatta_cmd_t helpCmd; /**< help command structure */
|
||||
shellmatta_cmd_t *cmdList; /**< pointer to the first command */
|
||||
bool cmdListIsConst; /**< true if the #cmdList was passed during
|
||||
initialization */
|
||||
|
Reference in New Issue
Block a user