diff --git a/cmd_bind.go b/cmd_bind.go index bee9872..c674684 100644 --- a/cmd_bind.go +++ b/cmd_bind.go @@ -31,7 +31,7 @@ ex: Flag: *flag.NewFlagSet("gopy-bind", flag.ExitOnError), } - cmd.Flag.String("lang", defaultPyVersion, "python version to use for bindings (python2|py2|python3|py3)") + cmd.Flag.String("lang", defaultPyVersion, "python version to use for bindings (python2|py2|python3|py3|cffi)") cmd.Flag.String("output", "", "output directory for bindings") cmd.Flag.Bool("symbols", true, "include symbols in output") cmd.Flag.Bool("work", false, "print the name of temporary work directory and do not delete it when exiting") diff --git a/main.go b/main.go index c8d1eec..b57b824 100644 --- a/main.go +++ b/main.go @@ -13,7 +13,7 @@ import ( ) const ( - defaultPyVersion = "py2" + defaultPyVersion = "cffi" ) var (