Fixed typo in groovy docopt.
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user