Hello,
I would like to propose a change in the SHELL_CMD structure that allows a user to provide theirs own command description that may be used in the help command for example:
typedef struct shell_cmd {
const CPU_CHAR *Name; ///< Ptr to cmd name.
SHELL_CMD_FNCT Fnct; ///< Ptr to cmd fnct.
const CPU_CHAR *Descr; ///< Ptr to cmd description.
}
- Outcome for the help command (implementation specific):
help: Print commands info
status: Print system status
reboot: Perform software reboot
bootloader: Switch into the bootloader application