Bump args4j version to 2.0.26

New version has features which be useful for Gerrit core and plugins:

* new hidden attribute, specifying to hide it in help message
* new depends attribute, specifying the dependent option(s)
* multiValued attribute was removed

Change-Id: Ic7e9f37231cb83940db50fe3b9efe8ad972108cf
This commit is contained in:
David Ostrovsky
2013-11-14 23:42:59 +01:00
parent 5cf89bc928
commit 985752f232
13 changed files with 63 additions and 28 deletions

View File

@@ -56,7 +56,7 @@ public class Init extends BaseInit {
@Option(name = "--list-plugins", usage = "List available plugins")
private boolean listPlugins;
@Option(name = "--install-plugin", usage = "Install given plugin without asking", multiValued = true)
@Option(name = "--install-plugin", usage = "Install given plugin without asking")
private List<String> installPlugins;
@Inject

View File

@@ -32,7 +32,7 @@ import java.util.EnumSet;
import java.util.List;
public class PrologShell extends AbstractProgram {
@Option(name = "-s", multiValued = true, metaVar = "FILE.pl", usage = "file to load")
@Option(name = "-s", metaVar = "FILE.pl", usage = "file to load")
private List<String> fileName = new ArrayList<String>();
@Override