The `--fail-if-no-results-found` flag exit with status code 1 if no
search results found during `helm search repo` and `helm search hub`
commands. This is useful for automation scripts.
closes#7197
Signed-off-by: Baiju Muthukadan <baiju.m.mail@gmail.com>
f.BoolVar(&o.devel,"devel",false,"use development versions (alpha, beta, and release candidate releases), too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored")
f.StringVar(&o.version,"version","","search using semantic versioning constraints on repositories you have added")
f.UintVar(&o.maxColWidth,"max-col-width",50,"maximum column width for output table")
f.BoolVarP(&o.noResultsFail,"fail-if-no-results-found","f",false,"exit with status code 1 if no results found")