[ 
https://issues.apache.org/jira/browse/KARAF-3390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14251510#comment-14251510
 ] 

ASF GitHub Bot commented on KARAF-3390:
---------------------------------------

GitHub user metatechbe opened a pull request:

    https://github.com/apache/karaf/pull/53

    KARAF-3390

    Karaf client should allow passing arguments to command

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/metatechbe/karaf master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/karaf/pull/53.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #53
    
----
commit 4f07004e71ee16170d8fb6e20b2b81a7f47c6d37
Author: metatechbe <[email protected]>
Date:   2014-12-18T11:00:20Z

    KARAF-3390
    
    Karaf client should allow passing arguments to command

----


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

Reply via email to