Skip to content

Commit 931312b

Browse files
authored
Add support to output jvm property from the cli app (#21)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
1 parent a9ba3e4 commit 931312b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/cli/App.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
public class App {
77
public static void main(String[] args) {
88
System.out.println("Env: NAME=" + System.getenv("NAME"));
9+
System.out.println("Property: cli.name=" + System.getProperty("cli.name"));
910
}
1011
}

0 commit comments

Comments
 (0)