summaryrefslogtreecommitdiff
path: root/human.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-22 06:53:10 -0600
committerJeff Carr <[email protected]>2025-02-22 06:53:10 -0600
commitef24c64f5b195707b79c1f4bca2c993faa074183 (patch)
treee255efb50c1e539eb6b3adadd87e9c5eba1bd810 /human.go
parent06564368bc07e90e721c26cb074d45e3a8ab3d6b (diff)
expose funcv0.0.9
Diffstat (limited to 'human.go')
-rw-r--r--human.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/human.go b/human.go
index 73c7089..fa7fb8c 100644
--- a/human.go
+++ b/human.go
@@ -58,7 +58,7 @@ func checkCmdSimple(cmd string) bool {
return true
}
-func checkCmd(cmd string) (string, error) {
+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)