From patchwork Wed Feb 24 13:32:29 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [mtd-utils] mkfs.jffs2: fix --enable-compressor Date: Wed, 24 Feb 2010 03:32:29 -0000 From: Adrian Bunk X-Patchwork-Id: 46120 Message-Id: <20100224133229.GA23442@localhost.pp.htv.fi> To: linux-mtd@lists.infradead.org The short option -X was working, but the documented long option --enable-compressor was missing. Signed-off-by: Adrian Bunk --- mkfs.jffs2.c | 1 + 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'},