apps/nshlib: Add support for the 'env' command.

This commit is contained in:
Gregory Nutt
2018-09-30 10:55:23 -06:00
parent 386c29bbaf
commit 14a262001d
5 changed files with 72 additions and 22 deletions

View File

@@ -192,6 +192,10 @@ static const struct cmdmap_s g_cmdmap[] =
# endif
#endif
#ifndef CONFIG_NSH_DISABLE_ENV
{ "env", cmd_env, 1, 1, NULL },
#endif
#ifndef CONFIG_NSH_DISABLE_EXEC
{ "exec", cmd_exec, 2, 3, "<hex-address>" },
#endif