jcommander
jcommander copied to clipboard
Command line parsing framework for Java
Hello 👋 Since JCommander 1.75, the `MANIFEST.MF` no longer have the OSGi entries. Release 1.75 contains ``` Manifest-Version: 1.0 Built-By: cedric Created-By: 11.0.3 (Oracle Corporation 11.0.3+12-LTS) Build-Date: 2019-08-13 Build-Time: 19:08:54.576-0700...
Hi. I'm trying to use "validateWith" but encountered the following error: ``` object java.lang.Class is not a value validateWith = java.lang.Class[RunningFolderValidator] annotation argument needs to be a constant; found: java.lang.[com.example.utils.validators.RunningFolderValidator]...
I would like to have the possibility to go from a list of strings as input to an object, i.e. have an interface similar to IStringConverter that instead take a...
The use of `@MessageBundle` is deprecated, `@Parameters` should be used instead. This PR fixes this in a single unit test.
Gradle warns about the use of the deprecated `testCompile`: ``` ./gradlew --warning-mode all clean build > Configure project : The testCompile configuration has been deprecated for dependency declaration. This will...
Given that the type of 'debug' is Integer, the parameter needs a value, no? alternative way to fix this is to change line 1375 into `private boolean debug = false;`
The link to http://jcommander.org/apidocs/ in Section [Javadocs](https://jcommander.org/#_javadocs) of the documentation is broken.
Using variable arity parameters together with unknown options fails with `ParameterException: Expected a value after parameter -values` JCommander#isOption simply returns true when acceptUnknownOption is true, so DefaultVariableArity#processVariableArity always returns 0,...
Parameters are repeatedly added to the internal state of ´JCommander´ for each alias/name and when fetching defaults values they need to be deduplicated to avoid retrieving the default value multiple...