kohsuke / args4j

args4j
http://args4j.kohsuke.org/
MIT License
789 stars 189 forks source link

Infinite loop with one empty argument #165

Open ValentinBesnard opened 5 years ago

ValentinBesnard commented 5 years ago

Hello,

I have detected an infinite loop if there is only one argument with one space (e.g., " ") passed on the command line. This kind of argument is not consumed and results in an infinite loop.

I detect this bug using gradle to launch my java application using args4j to manage arguments passed on the command line.

Regards

Valentin