This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit 2bc4bdadee97ab148198c80c44271db89c213590
Author: yangsong8 <[email protected]>
AuthorDate: Wed Jun 11 11:41:27 2025 +0800

    apps/nsh: fix switchboot command spelling error
    
    modify swtichboot -> switchboot
    
    Signed-off-by: yangsong8 <[email protected]>
---
 nshlib/nsh_command.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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, "<image path>"),
+  CMD_MAP("switchboot", cmd_switchboot, 2, 2, "<image path>"),
 #endif
 
 #if !defined(CONFIG_NSH_DISABLESCRIPT) && !defined(CONFIG_NSH_DISABLE_TEST)

Reply via email to