summaryrefslogtreecommitdiffstats
path: root/common/env.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:55 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:55 +0200
commitd5a108ece39a1a32dd888f33937b5db8d9b3ba70 (patch)
treee2c6d5f0215d6e191945453dda9b31052ebedff5 /common/env.c
parent321dc1bf8f0ee24df9d8a02a34bcfae7685fa001 (diff)
downloadbarebox-d5a108ece39a1a32dd888f33937b5db8d9b3ba70.tar.gz
svn_rev_462
- Add help texts for many commands. - Let the linker sort the command table. - Add support for multiple argmuments in several commands (mkdir, rmdir, rm, cat)
Diffstat (limited to 'common/env.c')
-rw-r--r--common/env.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/env.c b/common/env.c
index 7d5a021..e8f841e 100644
--- a/common/env.c
+++ b/common/env.c
@@ -129,7 +129,7 @@ int do_printenv (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
U_BOOT_CMD_START(printenv)
.maxargs = CONFIG_MAXARGS,
.cmd = do_printenv,
- .usage = "printenv- print environment variables\n",
+ .usage = "print environment variables",
U_BOOT_CMD_HELP(
"\n - print values of all environment variables\n"
"printenv name ...\n"
@@ -152,7 +152,7 @@ int do_setenv ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
U_BOOT_CMD_START(setenv)
.maxargs = CONFIG_MAXARGS,
.cmd = do_setenv,
- .usage = "setenv - set environment variables\n",
+ .usage = "set environment variables",
U_BOOT_CMD_HELP(
"name value ...\n"
" - set environment variable 'name' to 'value ...'\n"