cbeust / jcommander

Command line parsing framework for Java
Apache License 2.0
1.96k stars 334 forks source link

How can I get varying level of verbosity { -v -vv -vvv} functionality? #484

Open Windwoes opened 4 years ago

Windwoes commented 4 years ago

I've looked at the documentation, and maybe I'm missing something, but I can't seem to find a way to create a variable verbosity parameter where the level of verbosity is determined by the number of vs.

david-truong commented 4 years ago

you can create multiple parameters and hide the additional ones and explain it through the first one...