NSH: Remove partial implementation of the use of IOBJ/IPTR in NSH. There are some complications

This commit is contained in:
Gregory Nutt
2016-01-17 07:53:52 -06:00
parent 16ed293417
commit b5c5055c41
6 changed files with 52 additions and 52 deletions

View File

@@ -401,7 +401,7 @@ static int expression(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
return value;
errout_syntax:
nsh_output(vtbl, g_nshsyntax, "test");
nsh_output(vtbl, g_fmtsyntax, "test");
return TEST_FALSE;
}
@@ -426,7 +426,7 @@ int cmd_lbracket(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
{
if (strcmp(argv[argc-1], "]") != 0)
{
nsh_output(vtbl, g_nshsyntax, argv[0]);
nsh_output(vtbl, g_fmtsyntax, argv[0]);
return ERROR;
}
else