Skip to content

Commit

Permalink
feat: Improve error message to know where to place --verbose option (#…
Browse files Browse the repository at this point in the history
…1865)

fixes #1864

Signed-off-by: Aurélien Pupier <[email protected]>
  • Loading branch information
apupier authored Nov 15, 2024
1 parent d501e20 commit ada4ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/dev/jbang/util/Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ static public void errorMsg(String msg, Throwable e) {
if (msg != null) {
infoMsg(e.getMessage());
}
infoMsg("Run with --verbose for more details");
infoMsg("Run with --verbose for more details. The --verbose must be placed before the jbang command. I.e. jbang --verbose run [...]");
}
}

Expand Down

0 comments on commit ada4ae8

Please sign in to comment.