mirror of https://github.com/go-python/gopy.git
gopy: harmonize default py-version for gopy cmds
Fixes #66. Change-Id: I6f9f535c5a78c2e26d3c7f386999505c0339815c
This commit is contained in:
parent
1ed32c9a61
commit
c4d5a9cd7c
|
@ -31,7 +31,7 @@ ex:
|
|||
Flag: *flag.NewFlagSet("gopy-bind", flag.ExitOnError),
|
||||
}
|
||||
|
||||
cmd.Flag.String("lang", "py2", "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)")
|
||||
cmd.Flag.String("output", "", "output directory for bindings")
|
||||
return cmd
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ ex:
|
|||
Flag: *flag.NewFlagSet("gopy-gen", flag.ExitOnError),
|
||||
}
|
||||
|
||||
cmd.Flag.String("lang", "python", "target language for bindings")
|
||||
cmd.Flag.String("lang", defaultPyVersion, "target language for bindings")
|
||||
cmd.Flag.String("output", "", "output directory for bindings")
|
||||
return cmd
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue