summaryrefslogtreecommitdiffstats
path: root/common/cmd_jffs2.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_jffs2.c
parent79621bc10ba8b8c45d348994aba5b9e4923cb77b (diff)
downloadu-boot-2fb2604d5c20beb061b0a94282b7f6eb14d00cb8.tar.gz
u-boot-2fb2604d5c20beb061b0a94282b7f6eb14d00cb8.tar.xz
u-boot-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_jffs2.c')
-rw-r--r--common/cmd_jffs2.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/common/cmd_jffs2.c b/common/cmd_jffs2.c
index 4c63f51c10..d0a7ceaa58 100644
--- a/common/cmd_jffs2.c
+++ b/common/cmd_jffs2.c
@@ -2297,35 +2297,35 @@ int do_jffs2_mtdparts(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
/***************************************************/
U_BOOT_CMD(
fsload, 3, 0, do_jffs2_fsload,
- "fsload\t- load binary file from a filesystem image\n",
+ "load binary file from a filesystem image",
"[ off ] [ filename ]\n"
" - load binary file from flash bank\n"
" with offset 'off'\n"
);
U_BOOT_CMD(
ls, 2, 1, do_jffs2_ls,
- "ls\t- list files in a directory (default /)\n",
+ "list files in a directory (default /)",
"[ directory ]\n"
" - list files in a directory.\n"
);
U_BOOT_CMD(
fsinfo, 1, 1, do_jffs2_fsinfo,
- "fsinfo\t- print information about filesystems\n",
+ "print information about filesystems",
" - print information about filesystems\n"
);
#ifdef CONFIG_JFFS2_CMDLINE
U_BOOT_CMD(
chpart, 2, 0, do_jffs2_chpart,
- "chpart\t- change active partition\n",
+ "change active partition",
"part-id\n"
" - change active partition (e.g. part-id = nand0,1)\n"
);
U_BOOT_CMD(
mtdparts, 6, 0, do_jffs2_mtdparts,
- "mtdparts- define flash/nand partitions\n",
+ "define flash/nand partitions",
"\n"
" - list partition table\n"
"mtdparts delall\n"