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 d448652203e camel-jbang: polished
d448652203e is described below

commit d448652203ee39793496278a65f4119299acaaa8
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Tue Aug 23 07:19:26 2022 +0200

    camel-jbang: polished
---
 .../java/org/apache/camel/dsl/jbang/core/commands/process/Hawtio.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/Hawtio.java
 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/Hawtio.java
index 928295ec0d0..b974590a242 100644
--- 
a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/Hawtio.java
+++ 
b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/Hawtio.java
@@ -33,7 +33,7 @@ import picocli.CommandLine.Command;
 @Command(name = "hawtio", description = "Launch Hawtio web console")
 public class Hawtio extends CamelCommand {
 
-    @CommandLine.Parameters(description = "Name or pid of running Camel 
integration", arity = "1")
+    @CommandLine.Parameters(description = "Name or pid of running Camel 
integration", arity = "0..1")
     String name;
 
     @CommandLine.Option(names = { "--version" },
@@ -42,7 +42,7 @@ public class Hawtio extends CamelCommand {
 
     // use port 8888 as 8080 is too commonly used
     @CommandLine.Option(names = { "--port" },
-                        description = "Port number to use for Hawtio web 
console", defaultValue = "8888")
+                        description = "Port number to use for Hawtio web 
console (port 8888 by default)", defaultValue = "8888")
     int port = 8888;
 
     @CommandLine.Option(names = { "--openUrl" },

Reply via email to