You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/05/06 09:30:51 UTC
[camel] branch main updated: camel-jbang -- Make it backwards compatible with run in dev mode
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new c793c453118 camel-jbang -- Make it backwards compatible with run in dev mode
c793c453118 is described below
commit c793c4531183fd54cd04bff0222a65d9c6562435
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri May 6 11:30:38 2022 +0200
camel-jbang -- Make it backwards compatible with run in dev mode
---
.../src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java
index 54bf817439a..7a38013c236 100644
--- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java
+++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java
@@ -116,7 +116,7 @@ class Run implements Callable<Integer> {
description = "For how long time in seconds Camel can be idle before stopping")
private int maxIdleSeconds;
- @Option(names = { "--dev" }, description = "Enables dev mode (live reload when source files are updated and saved)")
+ @Option(names = { "--reload", "--dev" }, description = "Enables dev mode (live reload when source files are updated and saved)")
private boolean dev;
@Option(names = { "--trace" }, description = "Enables trace logging of the routed messages")