Describe the bug
Specifying invalid parameters to gitleaks results in help/usage being printed and 0 exit code
To Reproduce
gitleaks --repo-path=.
echo $?
Expected behavior
Ideally misconfiguration should result in error and be marked with non-zero exit code, to allow easy identification in CI
Basic Info (please complete the following information):
- OS: macos/linux
- Gitleaks Version: 7.2.0
cc @zricethezav