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

@ -3,7 +3,7 @@ apply plugin: 'application'
apply plugin: 'maven'
group = 'com.jdblabs'
version = '0.2.3'
version = '0.2.4'
mainClassName = 'com.jdblabs.dbmigrate.DbMigrate'

View File

@ -1,7 +1,7 @@
# Package
bin = @["db_migrate"]
version = "0.2.3"
version = "0.2.4"
author = "Jonathan Bernard"
description = "Simple tool to handle database migrations."
license = "BSD"

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"

View File

@ -182,7 +182,7 @@ Options:
"""
# Parse arguments
let args = docopt(doc, version = "db-migrate 0.2.3")
let args = docopt(doc, version = "db-migrate 0.2.4")
let exitErr = proc(msg: string): void =
fatal("db_migrate: " & msg)