mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-14 07:53:47 +00:00
Cleanup
This commit is contained in:
parent
58702220ac
commit
d10f5508b3
2 changed files with 1 additions and 9 deletions
|
|
@ -44,7 +44,7 @@ func (d *DebugCommand) Flags() *flagset.Flagset {
|
||||||
Name: "seconds",
|
Name: "seconds",
|
||||||
Usage: "seconds to trace",
|
Usage: "seconds to trace",
|
||||||
Value: &d.seconds,
|
Value: &d.seconds,
|
||||||
Default: 5,
|
Default: 2,
|
||||||
})
|
})
|
||||||
flags.StringFlag(&flagset.StringFlag{
|
flags.StringFlag(&flagset.StringFlag{
|
||||||
Name: "output",
|
Name: "output",
|
||||||
|
|
|
||||||
|
|
@ -446,13 +446,5 @@ func (c *Command) Flags() *flagset.Flagset {
|
||||||
Usage: "Address and port to bind the GRPC server",
|
Usage: "Address and port to bind the GRPC server",
|
||||||
Value: &c.cliConfig.GRPC.Addr,
|
Value: &c.cliConfig.GRPC.Addr,
|
||||||
})
|
})
|
||||||
|
|
||||||
// grpc
|
|
||||||
f.StringFlag(&flagset.StringFlag{
|
|
||||||
Name: "grpc.addr",
|
|
||||||
Usage: "Address and port to bind the GRPC server",
|
|
||||||
Value: &c.cliConfig.GRPC.Addr,
|
|
||||||
})
|
|
||||||
|
|
||||||
return f
|
return f
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue