Jonas Fügedi created KARAF-2759:
-----------------------------------

             Summary: 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


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)

Reply via email to