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

Implement error handling for invalid arguments #8

Closed
wants to merge 2 commits into from

Conversation

atcruice
Copy link
Contributor

@atcruice atcruice commented Aug 2, 2014

Alter handling of invalid arguments - again. I feel it's cleaner.

  • constant VALID_ARGS hash allows flag implementation alteration more easily
  • exiting after errors raises failure exit status
  • leverage output_error in more places

In changing how the internal flags were handled I did away with the single use instance variables. Please confirm that I've understood --files correctly.

@atcruice atcruice closed this Feb 10, 2016
@atcruice atcruice deleted the error-handling branch February 10, 2016 01:34
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