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 e6064c1c368 CAMEL-18794: camel-jbang - Run --code
e6064c1c368 is described below

commit e6064c1c368c235188ee5c2075fbeb792c985b03
Author: Claus Ibsen <[email protected]>
AuthorDate: Sun Dec 4 14:31:13 2022 +0100

    CAMEL-18794: camel-jbang - Run --code
---
 docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
index 3eedfca1044..8eb85b029a1 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc
@@ -140,16 +140,16 @@ For very small Java routes then it is possible to provide 
the route as CLI argum
 
 [source,bash]
 ----
-camel run --code="from('kamelet:beer-source').to('log:beer')"
+camel run --code='from("kamelet:beer-source").to("log:beer")'
 ----
 
 This is very limited as the CLI argument is a bit cumbersome to use than files.
 
 - Java DSL code is only supported
-- Use single quote instead of double quotes
-- All routes must be defined in a single `--code` parameter.
+- Code wrapped in single quote, so you can use double quote in Java DSL
+- All route(s) must be defined in a single `--code` parameter.
 
-NOTE: Using `--code` is only usable for very quick and small prototype.
+NOTE: Using `--code` is only usable for very quick and small prototypes.
 
 === Dev mode with live reload
 

Reply via email to