aboutsummaryrefslogtreecommitdiff
path: root/mkfs
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-08-11 00:47:29 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-08-11 00:47:29 +0200
commit4b02470e6e8126918549d292cbed610a6cbfbf68 (patch)
treea482ef0c080cf760c4bc6d3553574c24c726baca /mkfs
parentc2db220d886192c1e3240dd6f38d5ad67c39bfdd (diff)
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>
Diffstat (limited to 'mkfs')
-rw-r--r--mkfs/options.c2
1 files changed, 1 insertions, 1 deletions
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' },