From d3ee0e75e08375fd5bcb6c18f1a6693fbe018213 Mon Sep 17 00:00:00 2001 From: petergmurphy Date: Wed, 22 Dec 2021 14:17:40 +0000 Subject: [PATCH] (GH-51) Improve `prm exec` error Added a logging message telling the user to reference the `prm exec help` help section. --- pkg/prm/prm.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/prm/prm.go b/pkg/prm/prm.go index 1b110d2..1406ad9 100644 --- a/pkg/prm/prm.go +++ b/pkg/prm/prm.go @@ -82,6 +82,7 @@ func (p *Prm) CheckLocalConfig() ([]ToolInst, error) { validateFile := filepath.Join(p.CodeDir, "validate.yml") if _, err := p.AFS.Stat(validateFile); err != nil { log.Error().Msgf("validate.yml not found in %s", p.CodeDir) + log.Info().Msgf("Reference the 'prm help exec' help section for exec command usage.") return []ToolInst{}, err }