Skip to content

Aborting on missing --user and --project prints all of usage #578

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

Conversation

olleolleolle
Copy link
Collaborator

@olleolleolle olleolleolle commented Oct 15, 2017

Thanks to investigations by @Furtif, this PR adds clarity to the abort message which happens if there's no user or project information after options and configurations have been parsed.

Before this change, the abort would print out only the name of the program and the "usage", which was incredibly bare.

  • Explain to the user why their invocation did not work: "Tell us which user and project to work on. Options --user and --project, or settings to that effect."

See #577

@olleolleolle olleolleolle changed the title Aborting prints all of usage Aborting on missing --user and --project prints all of usage Oct 16, 2017
@olleolleolle
Copy link
Collaborator Author

@Furtif Thanks for your patience.

@Furtif
Copy link

Furtif commented Oct 25, 2017

no worries 👍

@olleolleolle olleolleolle force-pushed the improve-abort-on-missing-info branch from ccdd03f to 4465adf Compare October 27, 2017 07:29
@olleolleolle olleolleolle merged commit 307994e into github-changelog-generator:master Oct 27, 2017
@olleolleolle olleolleolle deleted the improve-abort-on-missing-info branch October 27, 2017 07:48
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