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

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


The following commit(s) were added to refs/heads/master by this push:
     new bebae28bd nsh: Fix the typo error cmd_swtichboot -> cmd_switchboot
bebae28bd is described below

commit bebae28bdd3c426d6c4751e7739b75e39ca92a04
Author: Xiang Xiao <xiaoxi...@xiaomi.com>
AuthorDate: Sat Apr 8 01:55:19 2023 +0800

    nsh: Fix the typo error cmd_swtichboot -> cmd_switchboot
    
    Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com>
---
 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 2675dcd95..fa0abe174 100644
--- a/nshlib/nsh_command.c
+++ b/nshlib/nsh_command.c
@@ -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)

Reply via email to