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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user