Skip to content

Return exit code 0 after displaying help text with -h#429

Open
AndreHauschild wants to merge 1 commit into
groops-devs:mainfrom
AndreHauschild:exitSuccessOnHelp
Open

Return exit code 0 after displaying help text with -h#429
AndreHauschild wants to merge 1 commit into
groops-devs:mainfrom
AndreHauschild:exitSuccessOnHelp

Conversation

@AndreHauschild
Copy link
Copy Markdown
Contributor

When calling the application with -h to display the help text the return code was EXIT_FAILURE, even though this the intended use case and no error has occurred. The return code for this particular case is now changed to EXIT_SUCCESS.

It is not a big deal, but confused me a little when I was using groops -h for testing where I needed the application to do nothing else but terminate itself successfully.

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

Successfully merging this pull request may close these issues.

1 participant