Shell with CONFIG_SHELL_HELP disabled includes help command and prints root commands #74068
Replies: 2 comments
-
CC @jakub-uC |
Beta Was this translation helpful? Give feedback.
-
The main purpose of the Kconfig option: I somewhat unfortunately named the command |
Beta Was this translation helpful? Give feedback.
-
If the CONFIG_SHELL_HELP KConfig is disabled developer is likely trying to hide all help from the user. However the behaviour is to include the command.
By inspection:
https://github.com/zephyrproject-rtos/zephyr/blob/0d56a3c3f4c333b08b0fecde02a9c032ee6c2d2f/subsys/shell/shell.c#L1808C17-L1808C34
The command is left in, and prints the root command list
Beta Was this translation helpful? Give feedback.
All reactions