Added a LightOptionParser.parseOptions overload that accepts String[].
This commit is contained in:
parent
4ab4e5876b
commit
14332b878c
@ -1,6 +1,6 @@
|
|||||||
#Tue, 28 Oct 2014 01:58:09 -0500
|
#Wed, 29 Oct 2014 19:31:44 -0500
|
||||||
name=jdb-util
|
name=jdb-util
|
||||||
version=3.0
|
version=3.1
|
||||||
lib.local=true
|
lib.local=true
|
||||||
|
|
||||||
build.number=1
|
build.number=0
|
||||||
|
@ -9,7 +9,10 @@ package com.jdbernard.util
|
|||||||
|
|
||||||
public class LightOptionParser {
|
public class LightOptionParser {
|
||||||
|
|
||||||
public static def parseOptions(def optionDefinitions, List args) {
|
public static def parseOptions(def optionDefinitions, String[] args) {
|
||||||
|
return parseOptions(optionDefinitions, args as List<String>) }
|
||||||
|
|
||||||
|
public static def parseOptions(def optionDefinitions, List<String> args) {
|
||||||
|
|
||||||
def returnOpts = [args:[]]
|
def returnOpts = [args:[]]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user