[source] package/system/mtd: fix usage message

LEDE Commits lede-commits at lists.infradead.org
Wed Oct 26 03:46:28 PDT 2016


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/da1b33fc4dcab8453b70b4ee87e7b46a34c99acb

commit da1b33fc4dcab8453b70b4ee87e7b46a34c99acb
Author: Paul Wassi <p.wassi at gmx.at>
AuthorDate: Mon Oct 24 15:29:04 2016 +0200

    package/system/mtd: fix usage message
    
    Minor fix in the usage message on the explanation of the -p option.
    
    Signed-off-by: Paul Wassi <p.wassi at gmx.at>
---
 package/system/mtd/src/mtd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/system/mtd/src/mtd.c b/package/system/mtd/src/mtd.c
index 0d5ad22..822e466 100644
--- a/package/system/mtd/src/mtd.c
+++ b/package/system/mtd/src/mtd.c
@@ -732,7 +732,7 @@ static void usage(void)
 	"        -d <name>               directory for jffs2write, defaults to \"tmp\"\n"
 	"        -j <name>               integrate <file> into jffs2 data when writing an image\n"
 	"        -s <number>             skip the first n bytes when appending data to the jffs2 partiton, defaults to \"0\"\n"
-	"        -p                      write beginning at partition offset\n"
+	"        -p <number>             write beginning at partition offset\n"
 	"        -l <length>             the length of data that we want to dump\n");
 	if (mtd_fixtrx) {
 	    fprintf(stderr,



More information about the lede-commits mailing list