summaryrefslogtreecommitdiff
path: root/common/cmd_nvedit.c
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-01-27 18:03:12 -0600
committerWolfgang Denk <wd@denx.de>2009-01-28 08:49:52 +0100
commit2fb2604d5c20beb061b0a94282b7f6eb14d00cb8 (patch)
tree2b78cc5cbc9678d46449d873ef1ac0e02a13f2bc /common/cmd_nvedit.c
parent79621bc10ba8b8c45d348994aba5b9e4923cb77b (diff)
downloadu-boot-imx-2fb2604d5c20beb061b0a94282b7f6eb14d00cb8.zip
u-boot-imx-2fb2604d5c20beb061b0a94282b7f6eb14d00cb8.tar.gz
u-boot-imx-2fb2604d5c20beb061b0a94282b7f6eb14d00cb8.tar.bz2
Command usage cleanup
Remove command name from all command "usage" fields and update common/command.c to display "name - usage" instead of just "usage". Also remove newlines from command usage fields. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'common/cmd_nvedit.c')
-rw-r--r--common/cmd_nvedit.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c
index af40417..1fcb4c9 100644
--- a/common/cmd_nvedit.c
+++ b/common/cmd_nvedit.c
@@ -559,7 +559,7 @@ int do_saveenv (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
U_BOOT_CMD(
saveenv, 1, 0, do_saveenv,
- "saveenv - save environment variables to persistent storage\n",
+ "save environment variables to persistent storage",
NULL
);
@@ -590,7 +590,7 @@ int envmatch (uchar *s1, int i2)
U_BOOT_CMD(
printenv, CONFIG_SYS_MAXARGS, 1, do_printenv,
- "printenv- print environment variables\n",
+ "print environment variables",
"\n - print values of all environment variables\n"
"printenv name ...\n"
" - print value of environment variable 'name'\n"
@@ -598,7 +598,7 @@ U_BOOT_CMD(
U_BOOT_CMD(
setenv, CONFIG_SYS_MAXARGS, 0, do_setenv,
- "setenv - set environment variables\n",
+ "set environment variables",
"name value ...\n"
" - set environment variable 'name' to 'value ...'\n"
"setenv name\n"
@@ -609,7 +609,7 @@ U_BOOT_CMD(
U_BOOT_CMD(
askenv, CONFIG_SYS_MAXARGS, 1, do_askenv,
- "askenv - get environment variables from stdin\n",
+ "get environment variables from stdin",
"name [message] [size]\n"
" - get environment variable 'name' from stdin (max 'size' chars)\n"
"askenv name\n"
@@ -626,7 +626,7 @@ U_BOOT_CMD(
int do_run (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
U_BOOT_CMD(
run, CONFIG_SYS_MAXARGS, 1, do_run,
- "run - run commands in an environment variable\n",
+ "run commands in an environment variable",
"var [...]\n"
" - run the commands in the environment variable(s) 'var'\n"
);