cbeust / jcommander

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

usage() hides 'Comments:' header when ONLY hidden commands exist #512

Closed mkarg closed 3 years ago

mkarg commented 3 years ago

In the case an application solely has hidden commants, usage() won't print an empty Commands: section anymore using this PR. Before of that, the Commands: header was printed even in that case, which is not nice.

mkarg commented 3 years ago

@cbeust Kindly requesting your review. :-)