diff --git a/nshlib/nsh_command.c b/nshlib/nsh_command.c index 3911e0844..3275756b3 100644 --- a/nshlib/nsh_command.c +++ b/nshlib/nsh_command.c @@ -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, ""), + CMD_MAP("switchboot", cmd_switchboot, 2, 2, ""), #endif #if !defined(CONFIG_NSH_DISABLESCRIPT) && !defined(CONFIG_NSH_DISABLE_TEST)