[PATCH] mkfs.jffs2: fix spelling of --compression-mode parameter in help text

Alex Henrie alexhenrie24 at gmail.com
Wed Sep 21 20:14:40 PDT 2022


--compr-mode is not accepted as an alias of --compression-mode.

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
 jffsX-utils/mkfs.jffs2.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/jffsX-utils/mkfs.jffs2.c b/jffsX-utils/mkfs.jffs2.c
index 9cc5eaf..bd67634 100644
--- a/jffsX-utils/mkfs.jffs2.c
+++ b/jffsX-utils/mkfs.jffs2.c
@@ -1401,7 +1401,8 @@ static const char helptext[] =
 "                          page size (default: 4KiB)\n"
 "  -e, --eraseblock=SIZE   Use erase block size SIZE (default: 64KiB)\n"
 "  -c, --cleanmarker=SIZE  Size of cleanmarker (default 12)\n"
-"  -m, --compr-mode=MODE   Select compression mode (default: priority)\n"
+"  -m, --compression-mode=MODE\n"
+"                          Select compression mode (default: priority)\n"
 "  -x, --disable-compressor=COMPRESSOR_NAME\n"
 "                          Disable a compressor\n"
 "  -X, --enable-compressor=COMPRESSOR_NAME\n"
-- 
2.37.3




More information about the linux-mtd mailing list