]> www.infradead.org Git - mtd-utils.git/commitdiff
mkfs.jffs2: fix --enable-compressor
authorAdrian Bunk <bunk@kernel.org>
Wed, 24 Feb 2010 13:32:29 +0000 (15:32 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 31 Mar 2010 13:48:50 +0000 (16:48 +0300)
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>
mkfs.jffs2.c

index 23a8cf880be47ea6d0e0d1155c8026a256da1749..64cafb644aa00d1345ea6ef57f4815a0a606aaed 100644 (file)
@@ -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'},