wow. really? this works?
This commit is contained in:
parent
ac16ef7127
commit
3c922f1277
5
main.go
5
main.go
|
@ -43,9 +43,10 @@ func getVersion(repo *gitpb.Repo, name string) string {
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
me = new(mainType)
|
me = new(mainType)
|
||||||
// prep.Bash2(ARGNAME, argv.DoAutoComplete) // this line should be: prep.Bash(&argv)
|
|
||||||
me.myGui = prep.Gui() // prepares the GUI package for go-args
|
me.myGui = prep.Gui() // prepares the GUI package for go-args
|
||||||
me.auto = prep.Bash3(argv.DoAutoComplete, &argv) // this line should be: prep.Bash(&argv)
|
me.auto = prep.Bash3(&argv) // this line should be: prep.Bash(&argv)
|
||||||
|
|
||||||
|
// me.auto = prep.Bash3(argv.DoAutoComplete, &argv) // this line should be: prep.Bash(&argv)
|
||||||
// arg.MustParse(&argv) // these three lines are becoming terrible syntax
|
// arg.MustParse(&argv) // these three lines are becoming terrible syntax
|
||||||
// me.auto = prep.MustParse(&argv) // try to make this work?
|
// me.auto = prep.MustParse(&argv) // try to make this work?
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue