From ada4ae820802d322e6f1dcce77fd8b3ecc6e2290 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Pupier?= Date: Fri, 15 Nov 2024 23:04:50 +0100 Subject: [PATCH] feat: Improve error message to know where to place --verbose option (#1865) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes #1864 Signed-off-by: Aurélien Pupier --- src/main/java/dev/jbang/util/Util.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dev/jbang/util/Util.java b/src/main/java/dev/jbang/util/Util.java index c0de67a72..319daee89 100644 --- a/src/main/java/dev/jbang/util/Util.java +++ b/src/main/java/dev/jbang/util/Util.java @@ -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 [...]"); } }