提交 c38d6755 编写于 作者: L Lucas Molas 提交者: Derek Parker

Documentation: update usage docs (#1095)

上级 550e7d38
......@@ -47,4 +47,4 @@ Pass flags to the program you are debugging using `--`, for example:
* [dlv trace](dlv_trace.md) - Compile and begin tracing program.
* [dlv version](dlv_version.md) - Prints version.
###### Auto generated by spf13/cobra on 20-Jun-2017
###### Auto generated by spf13/cobra on 25-Jan-2018
......@@ -38,4 +38,4 @@ dlv attach pid [executable]
### SEE ALSO
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
###### Auto generated by spf13/cobra on 20-Jun-2017
###### Auto generated by spf13/cobra on 25-Jan-2018
......@@ -33,4 +33,4 @@ dlv connect addr
### SEE ALSO
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
###### Auto generated by spf13/cobra on 20-Jun-2017
###### Auto generated by spf13/cobra on 25-Jan-2018
......@@ -6,7 +6,7 @@ Examine a core dump.
Examine a core dump.
The core command will open the specified core file and the associated
executable and let you examine the state of the process when the
core dump was taken.
......@@ -37,4 +37,4 @@ dlv core <executable> <core>
### SEE ALSO
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
###### Auto generated by spf13/cobra on 20-Jun-2017
###### Auto generated by spf13/cobra on 25-Jan-2018
......@@ -16,6 +16,12 @@ session.
dlv debug [package]
```
### Options
```
--output string Output path for the binary. (default "debug")
```
### Options inherited from parent commands
```
......@@ -38,4 +44,4 @@ dlv debug [package]
### SEE ALSO
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
###### Auto generated by spf13/cobra on 20-Jun-2017
###### Auto generated by spf13/cobra on 25-Jan-2018
......@@ -38,4 +38,4 @@ dlv exec <path/to/binary>
### SEE ALSO
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
###### Auto generated by spf13/cobra on 20-Jun-2017
###### Auto generated by spf13/cobra on 25-Jan-2018
......@@ -6,7 +6,7 @@ Replays a rr trace.
Replays a rr trace.
The replay command will open a trace generated by mozilla rr. Mozilla rr must be installed:
https://github.com/mozilla/rr
......@@ -37,4 +37,4 @@ dlv replay [trace directory]
### SEE ALSO
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
###### Auto generated by spf13/cobra on 20-Jun-2017
###### Auto generated by spf13/cobra on 25-Jan-2018
......@@ -33,4 +33,4 @@ dlv run
### SEE ALSO
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
###### Auto generated by spf13/cobra on 20-Jun-2017
###### Auto generated by spf13/cobra on 25-Jan-2018
......@@ -16,6 +16,12 @@ that package instead.
dlv test [package]
```
### Options
```
--output string Output path for the binary. (default "debug.test")
```
### Options inherited from parent commands
```
......@@ -38,4 +44,4 @@ dlv test [package]
### SEE ALSO
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
###### Auto generated by spf13/cobra on 20-Jun-2017
###### Auto generated by spf13/cobra on 25-Jan-2018
......@@ -19,8 +19,9 @@ dlv trace [package] regexp
### Options
```
-p, --pid int Pid to attach to.
-s, --stack int Show stack trace with given depth.
--output string Output path for the binary. (default "debug")
-p, --pid int Pid to attach to.
-s, --stack int Show stack trace with given depth.
```
### Options inherited from parent commands
......@@ -45,4 +46,4 @@ dlv trace [package] regexp
### SEE ALSO
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
###### Auto generated by spf13/cobra on 20-Jun-2017
###### Auto generated by spf13/cobra on 25-Jan-2018
......@@ -33,4 +33,4 @@ dlv version
### SEE ALSO
* [dlv](dlv.md) - Delve is a debugger for the Go programming language.
###### Auto generated by spf13/cobra on 20-Jun-2017
###### Auto generated by spf13/cobra on 25-Jan-2018
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册