You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2024/08/21 09:00:00 UTC
[jira] [Commented] (CAMEL-21011) Improve error message when Camel Jbang has unmatched arguments by mentioning possibility that a plugin is missing
[ https://issues.apache.org/jira/browse/CAMEL-21011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17875409#comment-17875409 ]
Claus Ibsen commented on CAMEL-21011:
-------------------------------------
❯ camel foo
Unmatched argument at index 0: 'foo'
Did you mean: camel transform?
Usage: camel [-hV] [COMMAND]
Try 'camel --help' for more information.
Maybe a specific plugin must be installed?
We can maybe make the error text to help the user in the right direction
-->
Maybe a specific camel jbang plugin must be installed? (Try camel plugin --help' for more information)
> Improve error message when Camel Jbang has unmatched arguments by mentioning possibility that a plugin is missing
> -----------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-21011
> URL: https://issues.apache.org/jira/browse/CAMEL-21011
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang
> Affects Versions: 4.7.0
> Reporter: Aurélien Pupier
> Assignee: Aurélien Pupier
> Priority: Minor
> Fix For: 4.8.0
>
>
> currently the error message is:
> {noformat}
> Unmatched arguments from index 0: 'generate', 'rest', '--input=/home/apupier/ws/record-demo-for-remote-camel-debug-quarkus/petstore.json', '--output=eee.camel.yaml', '--routes'
> Did you mean: camel get or camel dependency or camel trace? {noformat}
> It is not suggesting that i might be a plugin that must be installed
--
This message was sent by Atlassian Jira
(v8.20.10#820010)