1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-11-01 05:05:32 +00:00

Add -version commandline option

This commit is contained in:
Karol Stasiak 2020-07-19 23:33:03 +02:00
parent 8a0c552762
commit 27645e93ad

View File

@ -788,7 +788,7 @@ object Main {
c
}).description("Display this message.")
flag("--version").action(c => {
flag("--version", "-version").action(c => {
println("millfork version " + BuildInfo.version)
assumeStatus(CliStatus.Quit)
System.exit(0)