]> Repositorios git - scryer-prolog.git/commit
main: skip args[0]
authorStephan Renatus <[email protected]>
Sat, 28 Mar 2020 08:07:42 +0000 (09:07 +0100)
committerStephan Renatus <[email protected]>
Sat, 28 Mar 2020 08:07:44 +0000 (09:07 +0100)
commit45d4f460241435df10fd5c4db512b3c261019a34
treea1ec08655bbfd1feb31d41728a3514a3b71e43e1
parent896f2aeb74d528fb174b46c0d34954cb067b1446
main: skip args[0]

This is a bit pedantic, it's unlikely that the executable would be
called `-v` or `--version`. However, it seems slightly more correct to
disregard argv[0] when checking flags.
Signed-off-by: Stephan Renatus <[email protected]>
src/main.rs