abigen: objc not supported, don't mention it

This commit is contained in:
Guillaume Ballet 2019-06-17 09:15:49 +02:00
parent 79c90dce20
commit 75858fbda0
2 changed files with 1 additions and 4 deletions

View file

@ -38,7 +38,6 @@ type Lang int
const (
LangGo Lang = iota
LangJava
LangObjC
)
// Bind generates a Go wrapper around a contract ABI. This wrapper isn't meant

View file

@ -42,7 +42,7 @@ var (
pkgFlag = flag.String("pkg", "", "Package name to generate the binding into")
outFlag = flag.String("out", "", "Output file for the generated binding (default = stdout)")
langFlag = flag.String("lang", "go", "Destination language for the bindings (go, java, objc)")
langFlag = flag.String("lang", "go", "Destination language for the bindings (go, java)")
)
func main() {
@ -69,8 +69,6 @@ func main() {
lang = bind.LangGo
case "java":
lang = bind.LangJava
case "objc":
lang = bind.LangObjC
default:
fmt.Printf("Unsupported destination language \"%s\" (--lang)\n", *langFlag)
os.Exit(-1)