diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-05-03 13:58:38 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-05-03 13:58:38 +0200 |
commit | d9b79c78f4ceac5a6a271b61f7addb02d504efd8 (patch) | |
tree | d7405e3a0b0d2662d9ac05e4751d6597f5d1b300 /bin | |
parent | 4f08666b8aafe66d4786158c8f26dec1c540893b (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>
Diffstat (limited to 'bin')
-rw-r--r-- | bin/gensquashfs/options.c | 2 |
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' }, |