aboutsummaryrefslogtreecommitdiffstats
path: root/common/cmd_ext2.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_ext2.c
parent79621bc10ba8b8c45d348994aba5b9e4923cb77b (diff)
downloadu-boot-midas-2fb2604d5c20beb061b0a94282b7f6eb14d00cb8.tar.gz
u-boot-midas-2fb2604d5c20beb061b0a94282b7f6eb14d00cb8.tar.bz2
u-boot-midas-2fb2604d5c20beb061b0a94282b7f6eb14d00cb8.zip
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_ext2.c')
-rw-r--r--common/cmd_ext2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_ext2.c b/common/cmd_ext2.c
index 05a053b45b..c2dcc6436e 100644
--- a/common/cmd_ext2.c
+++ b/common/cmd_ext2.c
@@ -116,7 +116,7 @@ int do_ext2ls (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
U_BOOT_CMD(
ext2ls, 4, 1, do_ext2ls,
- "ext2ls - list files in a directory (default /)\n",
+ "list files in a directory (default /)",
"<interface> <dev[:part]> [directory]\n"
" - list files from 'dev' on 'interface' in a 'directory'\n"
);
@@ -252,7 +252,7 @@ int do_ext2load (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
U_BOOT_CMD(
ext2load, 6, 0, do_ext2load,
- "ext2load- load binary file from a Ext2 filesystem\n",
+ "load binary file from a Ext2 filesystem",
"<interface> <dev[:part]> [addr] [filename] [bytes]\n"
" - load binary file 'filename' from 'dev' on 'interface'\n"
" to address 'addr' from ext2 filesystem\n"