[LEDE-DEV] [PATCH] package/system/mtd: fix usage message

p.wassi at gmx.at p.wassi at gmx.at
Sun Oct 23 23:41:39 PDT 2016


From: Paul Wassi <p.wassi at gmx.at>

Minor fix in the usage message on the explanation of the -p option.

Signed-off-by: Paul Wassi <p.wassi at gmx.at>
---
 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
--- 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-dev mailing list