[PATCH] mw: fix help text
Baruch Siach
baruch at tkos.co.il
Wed Aug 4 09:24:38 EDT 2010
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
commands/mem.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/commands/mem.c b/commands/mem.c
index d609805..8a4267c 100644
--- a/commands/mem.c
+++ b/commands/mem.c
@@ -292,7 +292,9 @@ static int do_mem_mw(struct command *cmdtp, int argc, char *argv[])
static const __maybe_unused char cmd_mw_help[] =
"Usage: mw [OPTIONS] <region> <value(s)>\n"
"Write value(s) to the specifies region.\n"
-"see 'help md' for supported options.\n";
+"options:\n"
+" -b, -w, -l use byte, halfword, or word accesses\n"
+" -d <file> write file (default /dev/mem)\n";
BAREBOX_CMD_START(mw)
.cmd = do_mem_mw,
--
1.7.1
More information about the barebox
mailing list