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 125cc92ab00 Update options in camel-jbang.adoc (#15669)
125cc92ab00 is described below

commit 125cc92ab0024415d46a1a01a17bc6aa219c8830
Author: Jakub Vrubel <[email protected]>
AuthorDate: Tue Sep 24 14:14:50 2024 +0200

    Update options in camel-jbang.adoc (#15669)
    
    While creating tests it was noticed that some options listed in 
documentation are incorrect. These corrected options were listed in camel cli 
help prints.
---
 docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index f1472bcae02..b7be18fed90 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -617,12 +617,12 @@ camel run foo.java --maven-settings=false
 Camel JBang will automatically detect dependencies for Camel components, 
languages, data formats, etc. that
 from its own release. This means you often do not have to specify which JARs 
to use.
 
-However, if you need to add 3rd-party custom JARs, then you can specify these 
with `--deps` as CLI argument in Maven
+However, if you need to add 3rd-party custom JARs, then you can specify these 
with `--dep` as CLI argument in Maven
 GAV syntax (`groupId:artifactId:version`), such as:
 
 [source,bash]
 ----
-camel run foo.java --deps=com.foo:acme:1.0
+camel run foo.java --dep=com.foo:acme:1.0
 ----
 
 In case you need to explicit add a Camel dependency you can use a shorthand 
syntax (starting with `camel:` or `camel-`)
@@ -630,14 +630,14 @@ such as:
 
 [source,bash]
 ----
-camel run foo.java --deps=camel-saxon
+camel run foo.java --dep=camel-saxon
 ----
 
 You can specify multiple dependencies separated by comma:
 
 [source,bash]
 ----
-camel run foo.java --deps=camel-saxon,com.foo:acme:1.0
+camel run foo.java --dep=camel-saxon,com.foo:acme:1.0
 ----
 
 === Using 3rd-party Maven repositories
@@ -1824,7 +1824,7 @@ The logging level can be changed at runtime, for example, 
to change foo to DEBUG
 
 [source,bash]
 ----
-camel cmd logger --level=DEBUG foo
+camel cmd logger --logging-level=DEBUG foo
 ----
 
 TIP: You can use `--all` to change logging levels for all running integrations.

Reply via email to