You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2015/12/16 13:18:46 UTC
[jira] [Updated] (KARAF-3390) Karaf client should allow passing
arguments to command
[ https://issues.apache.org/jira/browse/KARAF-3390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré updated KARAF-3390:
----------------------------------------
Fix Version/s: 4.0.4
> Karaf client should allow passing arguments to command
> ------------------------------------------------------
>
> Key: KARAF-3390
> URL: https://issues.apache.org/jira/browse/KARAF-3390
> Project: Karaf
> Issue Type: Improvement
> Components: karaf-core
> Affects Versions: 2.2.11
> Environment: ServiceMix 4.5.3
> Reporter: metatech
> Assignee: Jean-Baptiste Onofré
> Fix For: 4.0.4
>
> Attachments: karaf_client_end_of_options.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Karaf client should allow to send command arguments, for instance
> {code}
> servicemix/bin/client -u smx -p smx start --force 1
> {code}
> The "--force" argument is interpreted locally by Karaf client and blocked because it is unknown to it :
> {noformat}
> Unknown option: --force
> Run with --help for usage
> {noformat}
> Here is a patch to Karaf client which adds support for the "end of options marker" double-dash (as in the "getopt" component). It becomes now possible to run the following command :
> {code}
> servicemix/bin/client -u smx -p smx -- start --force 1
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)