diff options
| author | Jeff Carr <[email protected]> | 2025-10-03 06:49:50 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-03 06:49:50 -0500 |
| commit | b769f3aa52787406147885757a65cf25ff2a342c (patch) | |
| tree | 0ae009e3fc0d1715e5f4f4d2ab1c0d16f0411b53 /human.go | |
| parent | a13a97106841abdd7fba767220fb8bfdd2b0e26d (diff) | |
output not option during shell autocompletev0.0.25
Diffstat (limited to 'human.go')
| -rw-r--r-- | human.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -58,12 +58,13 @@ func checkCmdSimple(cmd string) bool { return true } +// never output anythhing to stdout or stderr here func CheckCmd(cmd string) (string, error) { path, err := exec.LookPath(cmd) if err != nil { - fmt.Printf("\n%s is not in the PATH\n", cmd) + // fmt.Printf("\n%s is not in the PATH\n", cmd) } else { - fmt.Printf("%s is available at %s\n", cmd, path) + // fmt.Printf("%s is available at %s\n", cmd, path) } return path, err } |
