karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (KARAF-3390) Karaf client should allow passing arguments to command
Date Wed, 16 Dec 2015 12:18:46 GMT

     [ https://issues.apache.org/jira/browse/KARAF-3390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré resolved KARAF-3390.
-----------------------------------------
    Resolution: Fixed

> 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)

Mime
View raw message