[
https://issues.apache.org/jira/browse/CAMEL-19982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17774623#comment-17774623
]
Nicolas Filotto commented on CAMEL-19982:
-----------------------------------------
I'm wondering if it is a real bug, indeed, if we have a closer look at the
syntax of the command, the current behavior makes sense:
{noformat}
Usage: camel run [-h] [--background] [--console] [--dev] [--download] [--fresh]
...
[--jvm-debug=<true|false|port>]
...
[<files>...]
{noformat}
As you can see the files are after the options not the other way around.
[~davsclaus] WDYT?
> camel-jbang - Run with --jvm-debug as last parameter does not work
> ------------------------------------------------------------------
>
> Key: CAMEL-19982
> URL: https://issues.apache.org/jira/browse/CAMEL-19982
> Project: Camel
> Issue Type: Bug
> Components: camel-jbang
> Affects Versions: 4.1.0
> Reporter: Claus Ibsen
> Assignee: Nicolas Filotto
> Priority: Minor
> Fix For: 4.2.0
>
>
> This does not work
> camel run MyKafka.java --jvm-debug
> But this works
> camel run --jvm-debug MyKafka.java
--
This message was sent by Atlassian Jira
(v8.20.10#820010)