Skip to content

Commit 6763efe

Browse files
committed
chore: added -v/--version option
1 parent 7359724 commit 6763efe

File tree

2 files changed

+6
-31
lines changed

2 files changed

+6
-31
lines changed

src/main/java/org/codejive/jvm/Jvm.java

Lines changed: 0 additions & 31 deletions
This file was deleted.

src/main/java/org/codejive/jvm/Main.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ public class Main {
5050
usageHelp = true)
5151
boolean showHelp;
5252

53+
@Option(
54+
names = {"-v", "--version"},
55+
description = "Show application version.",
56+
versionHelp = true)
57+
boolean showVersion;
58+
5359
@Option(
5460
names = {"--quiet"},
5561
description = "We will be quiet, only print when error occurs.")

0 commit comments

Comments
 (0)