summaryrefslogtreecommitdiff
path: root/human.go
diff options
context:
space:
mode:
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)