From c38d6755f037e4f707b07c2bb48f9a30e583e279 Mon Sep 17 00:00:00 2001 From: Lucas Molas Date: Thu, 25 Jan 2018 16:54:00 -0300 Subject: [PATCH] Documentation: update usage docs (#1095) --- Documentation/usage/dlv.md | 2 +- Documentation/usage/dlv_attach.md | 2 +- Documentation/usage/dlv_connect.md | 2 +- Documentation/usage/dlv_core.md | 4 ++-- Documentation/usage/dlv_debug.md | 8 +++++++- Documentation/usage/dlv_exec.md | 2 +- Documentation/usage/dlv_replay.md | 4 ++-- Documentation/usage/dlv_run.md | 2 +- Documentation/usage/dlv_test.md | 8 +++++++- Documentation/usage/dlv_trace.md | 7 ++++--- Documentation/usage/dlv_version.md | 2 +- 11 files changed, 28 insertions(+), 15 deletions(-) diff --git a/Documentation/usage/dlv.md b/Documentation/usage/dlv.md index 84bd1bad..c72bdbd4 100644 --- a/Documentation/usage/dlv.md +++ b/Documentation/usage/dlv.md @@ -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 diff --git a/Documentation/usage/dlv_attach.md b/Documentation/usage/dlv_attach.md index ad5fc366..843c190e 100644 --- a/Documentation/usage/dlv_attach.md +++ b/Documentation/usage/dlv_attach.md @@ -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 diff --git a/Documentation/usage/dlv_connect.md b/Documentation/usage/dlv_connect.md index 7a9ef256..3d32aaec 100644 --- a/Documentation/usage/dlv_connect.md +++ b/Documentation/usage/dlv_connect.md @@ -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 diff --git a/Documentation/usage/dlv_core.md b/Documentation/usage/dlv_core.md index 4bfc69a1..8be89638 100644 --- a/Documentation/usage/dlv_core.md +++ b/Documentation/usage/dlv_core.md @@ -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 ### 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 diff --git a/Documentation/usage/dlv_debug.md b/Documentation/usage/dlv_debug.md index c9282afd..a57a5c45 100644 --- a/Documentation/usage/dlv_debug.md +++ b/Documentation/usage/dlv_debug.md @@ -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 diff --git a/Documentation/usage/dlv_exec.md b/Documentation/usage/dlv_exec.md index 9f67ad79..3f1b1303 100644 --- a/Documentation/usage/dlv_exec.md +++ b/Documentation/usage/dlv_exec.md @@ -38,4 +38,4 @@ dlv exec ### 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 diff --git a/Documentation/usage/dlv_replay.md b/Documentation/usage/dlv_replay.md index 54093109..d258ec17 100644 --- a/Documentation/usage/dlv_replay.md +++ b/Documentation/usage/dlv_replay.md @@ -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 diff --git a/Documentation/usage/dlv_run.md b/Documentation/usage/dlv_run.md index f904932b..9154d8a8 100644 --- a/Documentation/usage/dlv_run.md +++ b/Documentation/usage/dlv_run.md @@ -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 diff --git a/Documentation/usage/dlv_test.md b/Documentation/usage/dlv_test.md index a3503082..8fd05b2e 100644 --- a/Documentation/usage/dlv_test.md +++ b/Documentation/usage/dlv_test.md @@ -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 diff --git a/Documentation/usage/dlv_trace.md b/Documentation/usage/dlv_trace.md index 21e0434a..6bb0723f 100644 --- a/Documentation/usage/dlv_trace.md +++ b/Documentation/usage/dlv_trace.md @@ -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 diff --git a/Documentation/usage/dlv_version.md b/Documentation/usage/dlv_version.md index 45bac093..a17abc41 100644 --- a/Documentation/usage/dlv_version.md +++ b/Documentation/usage/dlv_version.md @@ -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