mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] commands: memset: fix help message
@ 2012-08-07 18:51 Antony Pavlov
  2012-08-09  6:44 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Antony Pavlov @ 2012-08-07 18:51 UTC (permalink / raw)
  To: barebox

memset has no '-s' option so remove related help string.
Also this patch makes the command's description more clear.

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 commands/mem.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/commands/mem.c b/commands/mem.c
index cc94062..ec46a48 100644
--- a/commands/mem.c
+++ b/commands/mem.c
@@ -566,14 +566,13 @@ out:
 }
 
 static const __maybe_unused char cmd_memset_help[] =
-"Usage: memset [OPTIONS] <src> <c> <n>\n"
+"Usage: memset [OPTIONS] <addr> <c> <n>\n"
 "\n"
 "options:\n"
 "  -b, -w, -l   use byte, halfword, or word accesses\n"
-"  -s <file>    source file (default /dev/mem)\n"
 "  -d <file>    destination file (default /dev/mem)\n"
 "\n"
-"Fill the first n bytes of area with byte c\n";
+"Fill the first <n> bytes at offset <addr> with byte <c>\n";
 
 BAREBOX_CMD_START(memset)
 	.cmd		= do_memset,
-- 
1.7.10.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-09  6:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-07 18:51 [PATCH] commands: memset: fix help message Antony Pavlov
2012-08-09  6:44 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox