提交 f848eb0d 编写于 作者: D Derek Parker

Update dlv help output

上级 317057aa
...@@ -30,6 +30,13 @@ func main() { ...@@ -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.")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册