nsh: Fix the typo error cmd_swtichboot -> cmd_switchboot

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-04-08 01:55:19 +08:00 committed by Petro Karashchenko
parent 1707be3977
commit bebae28bdd

View File

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