Re: [cli] getParsedOptionValue

2011-04-07 Thread Emmanuel Bourg
Hi Manuel, I would suggest to set the dafult type to String beause thats exactly what i was expacting. I would have provided a patch but i was not sure where to implement it (either as a fallback in CommandLine.getParsedOptionValue or in the Option constructor). That's a good suggestion, coul

[cli] getParsedOptionValue

2011-04-07 Thread Manuel Müller
Hello, yesterday i was doing some work with commons-cli and stumbled across getParsedOptionValue in the CommandLine class. Being new to this library i was very confused to always get a null value instead of some string. The problem was that i didn't set the type in my Option objects. I would sugge