Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helm should return non-zero on invalid commands #8355

Closed
tobert opened this issue Jun 26, 2020 · 1 comment
Closed

helm should return non-zero on invalid commands #8355

tobert opened this issue Jun 26, 2020 · 1 comment

Comments

@tobert
Copy link

tobert commented Jun 26, 2020

helm should exit with a non-zero status if a command is invalid.

e.g. the valid helm 2 command helm search foo/bar prints the help text and returns 0 on helm3.

I would expect it to return 1 so scripts can fail and have that detected.

@mattfarina
Copy link
Collaborator

You are right. There is an existing issue for this bug at #8268. I'm going to close this as a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants