Fixed typo in groovy docopt.

This commit is contained in:
Jonathan Bernard
2017-02-09 11:22:15 -06:00
parent c933d6ac2b
commit 9f38da0043
4 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ import org.slf4j.LoggerFactory
public class DbMigrate {
public static final VERSION = "0.2.3"
public static final VERSION = "0.2.4"
public static final def DOC = """\
db-migrate.groovy v${VERSION}
@ -47,7 +47,7 @@ Options:
public static void main(String[] args) {
// Parse arguments
def opts = new Docopt(DOC).withVersion("wdiwtlt v$VERSION").parse(args)
def opts = new Docopt(DOC).withVersion("db-migrate.groovy v$VERSION").parse(args)
if (opts['--version']) {
println "db-migrate.groovy v$VERSION"