delve/vendor
Alessandro Arzilli caf6df0eb9
Documentation,cmd/dlv: clean up command line usage help (#3395)
Due to some very old mistakes too many of Delve's flags are declared as
persistent on cobra's root command. For example the headless flag is a
global flag but does not apply to connect, dap or trace; the backend
flag does not apply to replay, core and dap; etc.

Almost all global flags should have been declared as local flags on
individual subcommands. Unfortunately we can not change this without
breaking backwards compatibility, for example:

   dlv --headless debug

would not parse if headless was a flag of debug instead of a global
flag.

Instead we alter usage function and the markdown generation script to
strategically hide the flags that don't apply.

Fixes #2361
2023-08-09 10:37:55 -07:00
..
github.com service/dap: update go-dap to latest (#3414) 2023-06-12 14:29:44 -07:00
go.starlark.net starbind: Make the time module available to star scripts (#3375) 2023-05-23 11:23:33 -07:00
golang.org/x *: add ppc64le support (#2963) 2023-07-07 09:30:38 -07:00
gopkg.in/yaml.v2 all: update github.com/spf13/cobra to v1.1.3 (#2572) 2021-07-22 11:05:37 -07:00
modules.txt Documentation,cmd/dlv: clean up command line usage help (#3395) 2023-08-09 10:37:55 -07:00