diff options
| author | Chris Nobody <[email protected]> | 2021-04-06 14:23:51 +0300 |
|---|---|---|
| committer | Chris Nobody <[email protected]> | 2021-04-06 14:23:51 +0300 |
| commit | e203f94963fb806fd8c7cc2339b96d458f84766e (patch) | |
| tree | febc157f142baa89fe8ae5466a4ff0ad990417ec /flags.go | |
| parent | a2c2f61e14485dafe98feb0613528a633a04e835 (diff) | |
gocomplete: suppress error output by default
Prevent the Go command completion from jumbling up the shell prompt on
errors by setting the Writer of the standard lib default log.Logger to
ioutil.Discard unless the system environment variable `GOCOMP_VERBOSE`
has been explicitly set to "1" (e.g. for debugging purposes).
Fixes #139
Diffstat (limited to 'flags.go')
0 files changed, 0 insertions, 0 deletions
