apps/nsh: fix switchboot command spelling error

modify swtichboot -> switchboot

Signed-off-by: yangsong8 <yangsong8@xiaomi.com>
This commit is contained in:
yangsong8 2025-06-11 11:41:27 +08:00 committed by Xiang Xiao
parent c3b5c6cedf
commit 2bc4bdadee

View file

@ -580,7 +580,7 @@ static const struct cmdmap_s g_cmdmap[] =
#endif
#if defined(CONFIG_BOARDCTL_SWITCH_BOOT) && !defined(CONFIG_NSH_DISABLE_SWITCHBOOT)
CMD_MAP("swtichboot", cmd_switchboot, 2, 2, "<image path>"),
CMD_MAP("switchboot", cmd_switchboot, 2, 2, "<image path>"),
#endif
#if !defined(CONFIG_NSH_DISABLESCRIPT) && !defined(CONFIG_NSH_DISABLE_TEST)