]> Repositorios git - scryer-prolog.git/commit
main: add -v/--version flag
authorStephan Renatus <[email protected]>
Fri, 27 Mar 2020 18:59:48 +0000 (19:59 +0100)
committerStephan Renatus <[email protected]>
Fri, 27 Mar 2020 18:59:50 +0000 (19:59 +0100)
commit896f2aeb74d528fb174b46c0d34954cb067b1446
tree8dd68f23eb14ecabee9c514792a605b038e0322a
parent7de39611f363517870c1ada9d9d05325cd2958cc
main: add -v/--version flag

Added a new dependency to take care of pulling in the version from git
at build time.

Args handling is minimalistic, but there wasn't any before, so I figured
this might do for now. (Eventually, some proper `--help` and usage
output might come in handy?)

Signed-off-by: Stephan Renatus <[email protected]>
Cargo.lock
Cargo.toml
src/main.rs