args4j
args4j copied to clipboard
args4j
README.md says the following: "Download the distribution or include the library from sthe Maven Repository at java.net." with an associated hyperlink of: http://maven.glassfish.org/content/groups/public/args4j/ However, this link does not appear to...
can't submit jobs to jenkins if parameters have '=' in them e.g. `JOB_PARAM="USER=damien DESTDIR=/tmp/$BUILDNUM"` here is my testcase: ``` groovy import org.kohsuke.args4j.Argument; import org.kohsuke.args4j.CmdLineException; import org.kohsuke.args4j.CmdLineParser; import org.kohsuke.args4j.Option; import org.kohsuke.args4j.spi.BooleanOptionHandler;...
A section on the proper maven co-ordinates would help. I've spent some time looking and still haven't found the right ones! ... Ok, I get it by looking under the...
On the [args4j homepage](http://args4j.kohsuke.org/) the [download](http://maven.jenkins-ci.org/content/repositories/releases/args4j/) link has releases up to 2.0.21, which is more than 16 months old, but nothing newer than that. I see releases tagged up to...
https://java.net/jira/browse/ARGS4J-34
`OptionHandler#getMetaVariable(...)` uses the default meta variable as a resource bundle key, see [lines 79-80](https://github.com/kohsuke/args4j/blob/9d8c90bd0edcf4be12d380555087a7703be6416b/args4j/src/org/kohsuke/args4j/spi/OptionHandler.java#L79-L80). This is somewhat unlikely to be the correct choice, I'd rather expect that the default meta...
[ResourceBundle#getString(String)](http://docs.oracle.com/javase/8/docs/api/java/util/ResourceBundle.html#getString-java.lang.String-) never returns `null`, so [this code](https://github.com/kohsuke/args4j/blob/9d8c90bd0edcf4be12d380555087a7703be6416b/args4j/src/org/kohsuke/args4j/spi/OptionHandler.java#L84-L86) in `OptionHandler#getMetaVariable(...)` should be changed to use [ResourceBundle#containsKey(String)](http://docs.oracle.com/javase/8/docs/api/java/util/ResourceBundle.html#containsKey-java.lang.String-).
When using a modular environment it might be desirable to register available commands using mechanisms such as OSGi service registrations or Guice multibinding injections. This is presently not possible since...
If I use the below code, I cannot pass "-v true" from command line since "true" will be parsed as an option but not a value for an option. This...
I want to create an option whose usage message is derived dynamically from other info in the program. That won't work for the usage-parameter in the @Option as that needs...