summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2010-02-24 15:32:29 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-03-31 16:48:50 +0300
commitfcf4d8f72676fa0c89d0dc3a69109d8f95018d22 (patch)
treeeeb0feeb2c9d9e0eb927536f3b2cad0021c1dbde
parentacabf7fcea06b7a2926837523561861ed14cab31 (diff)
mkfs.jffs2: fix --enable-compressor
The short option -X was working, but the documented long option --enable-compressor was missing. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
-rw-r--r--mkfs.jffs2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkfs.jffs2.c b/mkfs.jffs2.c
index 23a8cf8..64cafb6 100644
--- a/mkfs.jffs2.c
+++ b/mkfs.jffs2.c
@@ -1468,6 +1468,7 @@ static struct option long_options[] = {
{"devtable", 1, NULL, 'D'},
{"compression-mode", 1, NULL, 'm'},
{"disable-compressor", 1, NULL, 'x'},
+ {"enable-compressor", 1, NULL, 'X'},
{"test-compression", 0, NULL, 't'},
{"compressor-priority", 1, NULL, 'y'},
{"incremental", 1, NULL, 'i'},