mirror of https://github.com/golang/go.git
internal/lsp/cmd: add example to cli help for -ocagent flag
I've forgotten to specify scheme a few times, and gopls is quiet about invalid ocagent addresses. Add an example to the CLI help output aid the users with the format implicitly. Change-Id: I89ba8a16c18dabff2b4b87b2235755c22ae71117 Reviewed-on: https://go-review.googlesource.com/c/tools/+/239057 Reviewed-by: Heschi Kreinick <heschi@google.com> Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
037be6a065
commit
aaae6734f9
|
|
@ -64,7 +64,7 @@ type Application struct {
|
|||
Verbose bool `flag:"v" help:"verbose output"`
|
||||
|
||||
// Control ocagent export of telemetry
|
||||
OCAgent string `flag:"ocagent" help:"the address of the ocagent, or off"`
|
||||
OCAgent string `flag:"ocagent" help:"the address of the ocagent (e.g. http://localhost:55678), or off"`
|
||||
|
||||
// PrepareOptions is called to update the options when a new view is built.
|
||||
// It is primarily to allow the behavior of gopls to be modified by hooks.
|
||||
|
|
|
|||
Loading…
Reference in New Issue