Skip to content

hdarctl shouldn't print usage on failed verification

13:26:44.520 inspectors/inspector_selector.go:25 DEB 058 ▶ 'td.json': 3 errors found:
actions.detectImage: forms is required
actions.detectImage: safe is required
actions.detectImage: idempotent is required
Verification failed
Error: check logs, verification failed
Usage:
  hdarctl lint [PATH] [flags]

Flags:
  -h, --help   help for lint

check logs, verification failed

No need to display usage. This is a verification error, not a CLI error.