Skip to content

Commit caed82b

Browse files
committed
apps/nsh: fix switchboot command spelling error
modify swtichboot -> switchboot Signed-off-by: yangsong8 <[email protected]>
1 parent 641f7ce commit caed82b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nshlib/nsh_command.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ static const struct cmdmap_s g_cmdmap[] =
580580
#endif
581581

582582
#if defined(CONFIG_BOARDCTL_SWITCH_BOOT) && !defined(CONFIG_NSH_DISABLE_SWITCHBOOT)
583-
CMD_MAP("swtichboot", cmd_switchboot, 2, 2, "<image path>"),
583+
CMD_MAP("switchboot", cmd_switchboot, 2, 2, "<image path>"),
584584
#endif
585585

586586
#if !defined(CONFIG_NSH_DISABLESCRIPT) && !defined(CONFIG_NSH_DISABLE_TEST)

0 commit comments

Comments
 (0)