Add new CLI flag --fail-on-no-result for failing the helm
search when there is no result found. This works with:
1. helm search repo
2. helm search hub
Signed-off-by: Bhargav Ravuri <bhargav.ravuri@infracloud.io>
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.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.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.UintVar(&o.maxColWidth,"max-col-width",50,"maximum column width for output table")
f.BoolVar(&o.failOnNoResult,"fail-on-no-result",false,"search fails if no results are found")