[PATCH] commands: memset: fix help message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux