karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonas Fügedi (JIRA) <j...@apache.org>
Subject [jira] [Created] (KARAF-2759) Error in Client parameter parsing
Date Thu, 13 Feb 2014 21:22:19 GMT
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)

Mime
View raw message