delve/Documentation
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
..
api Documentation: fix typo and grammar issues (#3291) 2023-02-28 14:52:52 +01:00
cli docgen: fix links with trailing dots (#3399) 2023-05-31 10:00:06 -07:00
installation Documentation: add homebrew installation instructions back again 2022-10-03 21:05:19 +02:00
internal Documentation: add notes on porting Delve to other architectures (#2666) 2021-08-20 09:32:56 -07:00
usage Documentation,cmd/dlv: clean up command line usage help (#3395) 2023-08-09 10:37:55 -07:00
backend_test_health.md proc: add waitfor option to attach (#3445) 2023-08-09 10:30:22 -07:00
EditorIntegration.md Add Debugger to UIs list in EditorIntegration (#3127) 2022-08-29 13:31:08 +02:00
faq.md *: misc improvements to config command and substitute-path rules (#3335) 2023-05-02 12:23:59 -07:00
KnownBugs.md Doc: update KnownBugs and faq. (#2196) 2020-10-19 08:21:03 -07:00
README.md documentation: add gdlv to list of alternative UIs (#774) 2017-03-24 16:10:01 -07:00

Delve Documentation

Documentation for the project will reside in this directory.