args4j
args4j copied to clipboard
args4j
The signature of the parse function is void parse(OutputStream out) and in CmdLineParser a writer is created using the output stream. In the usage, you are showing to use parse(System.err)....
- it's common to print the cli `argument`s after the `option`s (on some OS it's even mandatory to adhere to this rule) - I added an optional parameter to the...
Uses "=" as a fallback. Fixes issue #151
In [this commit](https://github.com/kohsuke/args4j/commit/8af18273cdd3c4103b1c1e087b94ffff495c6347) `CommandLineParser` was modified to use `parserProperties.getOptionValueDelimiter()` instead of supporting only "=" as a delimiter. However, it appears as though the `splitToken()` method inside of `CmdLineImpl` was missed...
https://github.com/kohsuke/args4j/issues/149
the method checks if there is a localization for the metavar and assumes that ResourceBundle#getString(key) will return null when there is no key. But the getString method will throw a...
Annotations like `Argument` and `Option` should be tagged with the [@Documented](https://docs.oracle.com/javase/8/docs/api/java/lang/annotation/Documented.html) annotation methods or fields that have the `@Argument` or `@Option` annotation get documented properly when `javadoc` is invoked.
I would really like to break my options in several classes and combine them to get the end configuration: ``` public interface Interface1 { @Option(name = "-param1", usage = "Paramter1")...
This PR shows the last MVN Central repository version in the readme and adds a link to the MVN repository. It makes it easier to find the MVN dependencies for...
@sfuhrm , this is the updated version of [my previous pull request](https://github.com/kohsuke/args4j/pull/133). I had to create a new one because I deleted the repository I used. I removed `CmdLineException` and...