Closed Niek closed 3 years ago
The current code starts counting at the executable path (argv position 0). This means that running /path/to/pak -u bla bla results in an error: cannot read pak file -u.
/path/to/pak -u bla bla
cannot read pak file -u
This PR fixes this behaviour by starting to count at position 1.
The current code starts counting at the executable path (argv position 0). This means that running
/path/to/pak -u bla bla
results in an error:cannot read pak file -u
.This PR fixes this behaviour by starting to count at position 1.