mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 07:36:44 +00:00
Add cli info
This commit is contained in:
parent
2c9b2c31dc
commit
6bec5c704b
1 changed files with 6 additions and 2 deletions
|
|
@ -1,5 +1,7 @@
|
|||
package main
|
||||
|
||||
// Based on https://github.com/hashicorp/nomad/blob/main/command/operator_debug.go
|
||||
|
||||
import (
|
||||
"archive/tar"
|
||||
"compress/gzip"
|
||||
|
|
@ -30,7 +32,9 @@ type DebugCommand struct {
|
|||
func (d *DebugCommand) Help() string {
|
||||
return `Usage: bor debug
|
||||
|
||||
Debug`
|
||||
Build an archive containing Bor pprof traces
|
||||
|
||||
` + d.Flags().Help()
|
||||
}
|
||||
|
||||
func (d *DebugCommand) Flags() *flagset.Flagset {
|
||||
|
|
@ -52,7 +56,7 @@ func (d *DebugCommand) Flags() *flagset.Flagset {
|
|||
|
||||
// Synopsis implements the cli.Command interface
|
||||
func (d *DebugCommand) Synopsis() string {
|
||||
return "Debug"
|
||||
return "Build an archive containing Bor pprof traces"
|
||||
}
|
||||
|
||||
// Run implements the cli.Command interface
|
||||
|
|
|
|||
Loading…
Reference in a new issue