[
https://issues.apache.org/jira/browse/KARAF-2759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré resolved KARAF-2759.
-----------------------------------------
Resolution: Fixed
> Error in Client parameter parsing
> ---------------------------------
>
> Key: KARAF-2759
> URL: https://issues.apache.org/jira/browse/KARAF-2759
> Project: Karaf
> Issue Type: Bug
> Components: karaf-core
> Affects Versions: 3.0.0
> Reporter: Jonas Fügedi
> Assignee: Jean-Baptiste Onofré
> Fix For: 3.0.1, 3.1.0
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> The command line parsing has introduced a bug on line 71
> else if (args[i].equals("-f "))
> there is an extra whitespace after -f which makes it necessary to wrap the
> argument in quotes to use the file switch, e.g.
> ./client "-f " script.txt
> Code in
> https://github.com/apache/karaf/blob/master/client/src/main/java/org/apache/karaf/client/ClientConfig.java
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)