aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2024-03-10 17:29:50 +0100
committerJavier <dev.git@javispedro.com>2024-03-10 17:29:50 +0100
commitcee0ff8a283342e7c453a38288871656f61bb80d (patch)
treebd1ea50841f4c904a71a19c3590a8b7878f0419c
parente99a4724c02649c16159a2b2ab2419a9c1a2fc9d (diff)
downloadvbados-cee0ff8a283342e7c453a38288871656f61bb80d.tar.gz
vbados-cee0ff8a283342e7c453a38288871656f61bb80d.zip
fix bug with cmdline parsing
-rw-r--r--sfmain.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sfmain.c b/sfmain.c
index 0c0bbe4..59acbca 100644
--- a/sfmain.c
+++ b/sfmain.c
@@ -885,6 +885,8 @@ int main(int argc, const char *argv[])
if (!drive) return invalid_arg(argv[argi]);
set_mountopts_defaults(&opts);
+
+ argi++;
err = parse_mountopts(&opts, &argi, argc, argv);
if (err) return err;