Skip to content

Commit

Permalink
chore: made version --verbose more verbose (#1794)
Browse files Browse the repository at this point in the history
Added a couple of more informational lines that can help us debug issues
that people might have with JBang.
  • Loading branch information
quintesse authored Jul 7, 2024
1 parent cd2bf0f commit 28ad5a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/dev/jbang/cli/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ public Integer doCall() {
out.println("Cache: " + Settings.getCacheDir());
out.println("Config: " + Settings.getConfigDir());
out.println("Repository: " + ArtifactResolver.getLocalMavenRepo());
out.println("Java: " + System.getProperty("java.home") + " [" + System.getProperty("java.version") + "]");
out.println("OS: " + Util.getOS());
out.println("Arch: " + Util.getArch());
out.println("Shell: " + Util.getShell());
}

return EXIT_OK;
Expand Down

0 comments on commit 28ad5a8

Please sign in to comment.