Fix parameter parsing #1

Open
opened 2025-11-27 21:18:40 +00:00 by haxala1r · 0 comments
Owner

Currently, the program treats the first argument as the path to the tar file, and passes the rest of the arguments to ocamlfuse with some additional flags.

That is fine, but ocamlfuse seems to have a lot of weird behaviour with arguments - for example, when i tried adding -f to the default argument list the program simply wouldn't work, unless i still passed -f manually.

Currently, it is necessary to pass -f to the program either before or after the mount path. This should be fixed.

Currently, the program treats the first argument as the path to the tar file, and passes the rest of the arguments to ocamlfuse with some additional flags. That is fine, but ocamlfuse seems to have a lot of weird behaviour with arguments - for example, when i tried adding -f to the default argument list the program simply wouldn't work, unless i still passed -f manually. Currently, it is necessary to pass -f to the program either before or after the mount path. This should be fixed.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: haxala1r/fuse-tar#1