Hello,

With cli 1.1 and the java class wrapped with a bash script, quoted
arguments are split into multiple values.

myclass.sh:

#!/bin/bash

java MyClass $@


e.g.

$ myclass.sh --foo "Foo Bar"


Option foo = ...;
Options options = ...;
CommandLineParser parser = ...;
CommandLine commandLine = parser.parse(options, args);
String value = foo.getValue();
// expected value "Foo Bar", was "Foo"


Is this a problem with cli or with the bash script?

   michael


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to