shell: help feature improvement
Shell help printing function can now fully support CONFIG_CBPRINTF_NANO. Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
This commit is contained in:
parent
6e18a63f9b
commit
86df66290f
1 changed files with 3 additions and 1 deletions
|
@ -116,7 +116,9 @@ static void help_item_print(const struct shell *shell, const char *item_name,
|
|||
return;
|
||||
}
|
||||
|
||||
if (!IS_ENABLED(CONFIG_NEWLIB_LIBC) && !IS_ENABLED(CONFIG_ARCH_POSIX)) {
|
||||
if (!IS_ENABLED(CONFIG_NEWLIB_LIBC) &&
|
||||
!IS_ENABLED(CONFIG_ARCH_POSIX) &&
|
||||
!IS_ENABLED(CONFIG_CBPRINTF_NANO)) {
|
||||
/* print option name */
|
||||
shell_internal_fprintf(shell, SHELL_NORMAL, "%s%-*s%s:",
|
||||
tabulator,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue