diff options
Diffstat (limited to 'common/cmd_nvedit.c')
-rw-r--r-- | common/cmd_nvedit.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index 9cf8b90..bfc69bd 100644 --- a/common/cmd_nvedit.c +++ b/common/cmd_nvedit.c @@ -561,16 +561,16 @@ envmatch (uchar *s1, int i2) /**************************************************/ -cmd_tbl_t U_BOOT_CMD(PRINTENV) = MK_CMD_ENTRY( - "printenv", CFG_MAXARGS, 1, do_printenv, +U_BOOT_CMD( + printenv, CFG_MAXARGS, 1, do_printenv, "printenv- print environment variables\n", "\n - print values of all environment variables\n" "printenv name ...\n" " - print value of environment variable 'name'\n" ); -cmd_tbl_t U_BOOT_CMD(SETENV) = MK_CMD_ENTRY( - "setenv", CFG_MAXARGS, 0, do_setenv, +U_BOOT_CMD( + setenv, CFG_MAXARGS, 0, do_setenv, "setenv - set environment variables\n", "name value ...\n" " - set environment variable 'name' to 'value ...'\n" @@ -580,8 +580,8 @@ cmd_tbl_t U_BOOT_CMD(SETENV) = MK_CMD_ENTRY( #if ((CONFIG_COMMANDS & (CFG_CMD_ENV|CFG_CMD_FLASH)) == (CFG_CMD_ENV|CFG_CMD_FLASH)) -cmd_tbl_t U_BOOT_CMD(SAVEENV) = MK_CMD_ENTRY( - "saveenv", 1, 0, do_saveenv, +U_BOOT_CMD( + saveenv, 1, 0, do_saveenv, "saveenv - save environment variables to persistent storage\n", NULL ); @@ -590,8 +590,8 @@ cmd_tbl_t U_BOOT_CMD(SAVEENV) = MK_CMD_ENTRY( #if (CONFIG_COMMANDS & CFG_CMD_ASKENV) -cmd_tbl_t U_BOOT_CMD(ASKENV) = MK_CMD_ENTRY( - "askenv", CFG_MAXARGS, 1, do_askenv, +U_BOOT_CMD( + askenv, CFG_MAXARGS, 1, do_askenv, "askenv - get environment variables from stdin\n", "name [message] [size]\n" " - get environment variable 'name' from stdin (max 'size' chars)\n" @@ -607,8 +607,8 @@ cmd_tbl_t U_BOOT_CMD(ASKENV) = MK_CMD_ENTRY( #if (CONFIG_COMMANDS & CFG_CMD_RUN) int do_run (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]); -cmd_tbl_t U_BOOT_CMD(RUN) = MK_CMD_ENTRY( - "run", CFG_MAXARGS, 1, do_run, +U_BOOT_CMD( + run, CFG_MAXARGS, 1, do_run, "run - run commands in an environment variable\n", "var [...]\n" " - run the commands in the environment variable(s) 'var'\n" |