[ https://issues.apache.org/jira/browse/KARAF-2759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13908623#comment-13908623 ]
Jean-Baptiste Onofré commented on KARAF-2759: --------------------------------------------- Fixed on karaf-3.0.x: https://git-wip-us.apache.org/repos/asf?p=karaf.git;a=commitdiff;h=2f4c77ab48de3d25d01cc65cc80dfcd0d160098f > 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)