Documentation: update usage docs (#1095)

This commit is contained in:
Lucas Molas
2018-01-25 16:54:00 -03:00
committed by Derek Parker
parent 550e7d384d
commit c38d6755f0
11 changed files with 28 additions and 15 deletions

View File

@ -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 trace](dlv_trace.md) - Compile and begin tracing program.
* [dlv version](dlv_version.md) - Prints version. * [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

View File

@ -38,4 +38,4 @@ dlv attach pid [executable]
### SEE ALSO ### SEE ALSO
* [dlv](dlv.md) - Delve is a debugger for the Go programming language. * [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

View File

@ -33,4 +33,4 @@ dlv connect addr
### SEE ALSO ### SEE ALSO
* [dlv](dlv.md) - Delve is a debugger for the Go programming language. * [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

View File

@ -6,7 +6,7 @@ Examine a core dump.
Examine a core dump. Examine a core dump.
The core command will open the specified core file and the associated The core command will open the specified core file and the associated
executable and let you examine the state of the process when the executable and let you examine the state of the process when the
core dump was taken. core dump was taken.
@ -37,4 +37,4 @@ dlv core <executable> <core>
### SEE ALSO ### SEE ALSO
* [dlv](dlv.md) - Delve is a debugger for the Go programming language. * [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

View File

@ -16,6 +16,12 @@ session.
dlv debug [package] dlv debug [package]
``` ```
### Options
```
--output string Output path for the binary. (default "debug")
```
### Options inherited from parent commands ### Options inherited from parent commands
``` ```
@ -38,4 +44,4 @@ dlv debug [package]
### SEE ALSO ### SEE ALSO
* [dlv](dlv.md) - Delve is a debugger for the Go programming language. * [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

View File

@ -38,4 +38,4 @@ dlv exec <path/to/binary>
### SEE ALSO ### SEE ALSO
* [dlv](dlv.md) - Delve is a debugger for the Go programming language. * [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

View File

@ -6,7 +6,7 @@ Replays a rr trace.
Replays a rr trace. Replays a rr trace.
The replay command will open a trace generated by mozilla rr. Mozilla rr must be installed: The replay command will open a trace generated by mozilla rr. Mozilla rr must be installed:
https://github.com/mozilla/rr https://github.com/mozilla/rr
@ -37,4 +37,4 @@ dlv replay [trace directory]
### SEE ALSO ### SEE ALSO
* [dlv](dlv.md) - Delve is a debugger for the Go programming language. * [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

View File

@ -33,4 +33,4 @@ dlv run
### SEE ALSO ### SEE ALSO
* [dlv](dlv.md) - Delve is a debugger for the Go programming language. * [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

View File

@ -16,6 +16,12 @@ that package instead.
dlv test [package] dlv test [package]
``` ```
### Options
```
--output string Output path for the binary. (default "debug.test")
```
### Options inherited from parent commands ### Options inherited from parent commands
``` ```
@ -38,4 +44,4 @@ dlv test [package]
### SEE ALSO ### SEE ALSO
* [dlv](dlv.md) - Delve is a debugger for the Go programming language. * [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

View File

@ -19,8 +19,9 @@ dlv trace [package] regexp
### Options ### Options
``` ```
-p, --pid int Pid to attach to. --output string Output path for the binary. (default "debug")
-s, --stack int Show stack trace with given depth. -p, --pid int Pid to attach to.
-s, --stack int Show stack trace with given depth.
``` ```
### Options inherited from parent commands ### Options inherited from parent commands
@ -45,4 +46,4 @@ dlv trace [package] regexp
### SEE ALSO ### SEE ALSO
* [dlv](dlv.md) - Delve is a debugger for the Go programming language. * [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

View File

@ -33,4 +33,4 @@ dlv version
### SEE ALSO ### SEE ALSO
* [dlv](dlv.md) - Delve is a debugger for the Go programming language. * [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