diff --git a/project.properties b/project.properties index abe9784..06f4ecc 100644 --- a/project.properties +++ b/project.properties @@ -1,6 +1,6 @@ -#Tue, 28 Oct 2014 01:58:09 -0500 +#Wed, 29 Oct 2014 19:31:44 -0500 name=jdb-util -version=3.0 +version=3.1 lib.local=true -build.number=1 +build.number=0 diff --git a/src/main/com/jdbernard/util/LightOptionParser.groovy b/src/main/com/jdbernard/util/LightOptionParser.groovy index d968c33..381b831 100644 --- a/src/main/com/jdbernard/util/LightOptionParser.groovy +++ b/src/main/com/jdbernard/util/LightOptionParser.groovy @@ -9,7 +9,10 @@ package com.jdbernard.util 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) } + + public static def parseOptions(def optionDefinitions, List args) { def returnOpts = [args:[]]