mirror of
https://github.com/go-delve/delve.git
synced 2025-11-01 20:20:40 +08:00
Update dlv help output
This commit is contained in:
@ -30,6 +30,13 @@ func main() {
|
|||||||
rootCommand := &cobra.Command{
|
rootCommand := &cobra.Command{
|
||||||
Use: "dlv",
|
Use: "dlv",
|
||||||
Short: "Delve is a debugger for the Go programming language.",
|
Short: "Delve is a debugger for the Go programming language.",
|
||||||
|
Long: `Delve is a source level debugger for Go programs.
|
||||||
|
|
||||||
|
Delve enables you to interact with your program by controlling the execution of the process,
|
||||||
|
evaluating variables, and providing information of thread / goroutine state, CPU register state and more.
|
||||||
|
|
||||||
|
The goal of this tool is to provide a simple yet powerful interface for debugging Go programs.
|
||||||
|
`,
|
||||||
}
|
}
|
||||||
rootCommand.Flags().StringVarP(&Addr, "listen", "l", "localhost:0", "Debugging server listen address.")
|
rootCommand.Flags().StringVarP(&Addr, "listen", "l", "localhost:0", "Debugging server listen address.")
|
||||||
rootCommand.Flags().BoolVarP(&Log, "log", "", false, "Enable debugging server logging.")
|
rootCommand.Flags().BoolVarP(&Log, "log", "", false, "Enable debugging server logging.")
|
||||||
|
|||||||
Reference in New Issue
Block a user