mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
cmd/abigen: redefine appp (#25851)
This commit is contained in:
parent
0389524da8
commit
fde9a7e270
1 changed files with 2 additions and 8 deletions
|
|
@ -33,13 +33,6 @@ import (
|
|||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
|
||||
var (
|
||||
// Git SHA1 commit hash of the release (set via linker flags)
|
||||
gitCommit = ""
|
||||
|
||||
app *cli.App
|
||||
)
|
||||
|
||||
var (
|
||||
// Flags needed by abigen
|
||||
abiFlag = &cli.StringFlag{
|
||||
|
|
@ -81,8 +74,9 @@ var (
|
|||
}
|
||||
)
|
||||
|
||||
var app = flags.NewApp("", "XDC ABI wrapper code generator")
|
||||
|
||||
func init() {
|
||||
app = flags.NewApp(gitCommit, "ethereum checkpoint helper tool")
|
||||
app.Name = "abigen"
|
||||
app.Flags = []cli.Flag{
|
||||
abiFlag,
|
||||
|
|
|
|||
Loading…
Reference in a new issue