From 4b02470e6e8126918549d292cbed610a6cbfbf68 Mon Sep 17 00:00:00 2001
From: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Date: Sun, 11 Aug 2019 00:47:29 +0200
Subject: Fix wrong argument type for gensquashfs --keep-time

Copy paste mistake: the propper type should be no_argument as it is
only a simple flag and doesn't take extra arguments.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
---
 mkfs/options.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mkfs/options.c b/mkfs/options.c
index 04f2fef..340cb81 100644
--- a/mkfs/options.c
+++ b/mkfs/options.c
@@ -14,7 +14,7 @@ static struct option long_opts[] = {
 	{ "comp-extra", required_argument, NULL, 'X' },
 	{ "pack-file", required_argument, NULL, 'F' },
 	{ "pack-dir", required_argument, NULL, 'D' },
-	{ "keep-time", required_argument, NULL, 'k' },
+	{ "keep-time", no_argument, NULL, 'k' },
 	{ "one-file-system", no_argument, NULL, 'o' },
 	{ "exportable", no_argument, NULL, 'e' },
 	{ "force", no_argument, NULL, 'f' },
-- 
cgit v1.2.3