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

process-args and usage #22

Merged
merged 11 commits into from
Oct 5, 2023
Merged

process-args and usage #22

merged 11 commits into from
Oct 5, 2023

Conversation

danfuzz
Copy link
Owner

@danfuzz danfuzz commented Oct 5, 2023

This PR does a few things around error cases of process-args and usage:

  • Makes usage no longer "magically" exit when $? is non-zero upon being called.
  • Drops the extra newline before a usage --short message.
  • Makes process-args print out usage --short when reporting errors (along with that extra newline which used to be in usage --short).

@danfuzz danfuzz merged commit 3f70b5f into main Oct 5, 2023
1 check passed
@danfuzz danfuzz deleted the process-args-exit branch October 5, 2023 18:08
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