From 5c1c24137fc797db229bae475e4bb6f82a334428 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E9=92=A6=E8=A1=97?= <15390014138@163.com> Date: Fri, 5 Feb 2021 12:24:45 +0800 Subject: [PATCH] update apps/shell/src/shcmd.c. --- apps/shell/src/shcmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/shell/src/shcmd.c b/apps/shell/src/shcmd.c index 06845ac8..f90b5564 100644 --- a/apps/shell/src/shcmd.c +++ b/apps/shell/src/shcmd.c @@ -85,7 +85,7 @@ static int OsStrSeparateTabStrGet(const char **tabStr, CmdParsed *parsed, unsign if ((strlen(shiftStr) == 0) || (tempStr[strlen(tempStr) - 1] != shiftStr[strlen(shiftStr) - 1])) { *tabStr = ""; } else { - if (OsCmdTokenSplit(shiftStr, ' ', parsed)) { + if (OsCmdParse(shiftStr, parsed)) { free(tempStr); return (int)SH_ERROR; }