Skip to content

Fix the formatting of argument parsing errors. #46

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

Merged
merged 1 commit into from
Oct 7, 2020

Conversation

chrisgavin
Copy link
Collaborator

This fixes there being no new-line between argument parsing errors and the usage information by switching from printing the error with PrintErr(...) to PrintErrln(...).

I've also added an extra new-line just to make it a bit more clear what the error was.

@chrisgavin chrisgavin requested a review from a team October 7, 2020 13:25
@chrisgavin chrisgavin merged commit bf6b13e into main Oct 7, 2020
@chrisgavin chrisgavin deleted the fix-error-formatting branch October 7, 2020 13:55
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.

2 participants