summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-05-03 13:58:38 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-05-03 13:58:38 +0200
commitd9b79c78f4ceac5a6a271b61f7addb02d504efd8 (patch)
treed7405e3a0b0d2662d9ac05e4751d6597f5d1b300
parent4f08666b8aafe66d4786158c8f26dec1c540893b (diff)
Fix: the --all-root option does not take an arugment
Change the "required_argument" to the correct "no_argument". Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-rw-r--r--bin/gensquashfs/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gensquashfs/options.c b/bin/gensquashfs/options.c
index d029c09..348ebba 100644
--- a/bin/gensquashfs/options.c
+++ b/bin/gensquashfs/options.c
@@ -11,7 +11,7 @@ enum {
};
static struct option long_opts[] = {
- { "all-root", required_argument, NULL, ALL_ROOT_OPTION },
+ { "all-root", no_argument, NULL, ALL_ROOT_OPTION },
{ "set-uid", required_argument, NULL, 'u' },
{ "set-gid", required_argument, NULL, 'g' },
{ "compressor", required_argument, NULL, 'c' },