mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-10 22:13:47 +00:00
Merge branch 'ethereum:master' into gethintegration
This commit is contained in:
commit
aef005a6a8
1 changed files with 3 additions and 0 deletions
|
|
@ -98,6 +98,9 @@ func abigen(c *cli.Context) error {
|
||||||
if c.String(pkgFlag.Name) == "" {
|
if c.String(pkgFlag.Name) == "" {
|
||||||
utils.Fatalf("No destination package specified (--pkg)")
|
utils.Fatalf("No destination package specified (--pkg)")
|
||||||
}
|
}
|
||||||
|
if c.String(abiFlag.Name) == "" && c.String(jsonFlag.Name) == "" {
|
||||||
|
utils.Fatalf("Either contract ABI source (--abi) or combined-json (--combined-json) are required")
|
||||||
|
}
|
||||||
var lang bind.Lang
|
var lang bind.Lang
|
||||||
switch c.String(langFlag.Name) {
|
switch c.String(langFlag.Name) {
|
||||||
case "go":
|
case "go":
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue