You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/06/09 09:51:37 UTC

[camel] branch main updated: (chores) camel-jbang: fixed variable order

This is an automated email from the ASF dual-hosted git repository.

orpiske 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 0cde2d978e7 (chores) camel-jbang: fixed variable order
0cde2d978e7 is described below

commit 0cde2d978e7bbc5038d13323d54af461b8b4128d
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Jun 9 11:51:20 2022 +0200

    (chores) camel-jbang: fixed variable order
---
 .../java/org/apache/camel/dsl/jbang/core/commands/BaseExport.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/BaseExport.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/BaseExport.java
index 4d98222236f..7a8f6bae46b 100644
--- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/BaseExport.java
+++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/BaseExport.java
@@ -69,16 +69,16 @@ abstract class BaseExport extends CamelCommand {
             "--directory" }, description = "Directory where the project will be exported", defaultValue = ".")
     protected String exportDir;
 
-    @CommandLine.Option(names = { "--logging" }, defaultValue = "false",
-                        description = "Can be used to turn on logging (logs to file in <user home>/.camel directory)")
-    boolean logging;
-
     @CommandLine.Option(names = { "--logging-level" }, defaultValue = "info", description = "Logging level")
     protected String loggingLevel;
 
     @CommandLine.Option(names = { "--fresh" }, description = "Make sure we use fresh (i.e. non-cached) resources")
     protected boolean fresh;
 
+    @CommandLine.Option(names = { "--logging" }, defaultValue = "false",
+                        description = "Can be used to turn on logging (logs to file in <user home>/.camel directory)")
+    boolean logging;
+
     public BaseExport(CamelJBangMain main) {
         super(main);
     }