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

Return exit code 2 when option isn't recognized. #304

Conversation

slaykachu
Copy link
Contributor

Follow standard practice, so that client code can detect if there is an issue.
We already returned error code 2 in other cases of option parsing failure,
now everything is covered in a consistent manner.

Follow standard practice, so that client code can detect if there is an issue.
We already returned error code 2 in other cases of option parsing failure,
now everything is covered in a consistent manner.
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 18, 2021
@awalterschulze awalterschulze merged commit 64d3a60 into WhatsApp:master Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants