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

Print error on too many help arguments #1300

Merged
merged 1 commit into from
Aug 15, 2016
Merged

Conversation

raek
Copy link
Contributor

@raek raek commented Aug 15, 2016

Previously the help task would crash when given more than two
arguments. After this change it instead print a message:

Too many arguments given. Usage: rebar3 help [<namespace>] <task>

Previously the help task would crash when given more than two
arguments. After this change it instead print a message:

    Too many arguments given. Usage: rebar3 help [<namespace>] <task>
@raek
Copy link
Contributor Author

raek commented Aug 15, 2016

If you have a better suggestions for how to deal with the error I'd be happy to implement it!

@ferd
Copy link
Collaborator

ferd commented Aug 15, 2016

That sounds good to me.

@talentdeficit talentdeficit merged commit 7c9fc43 into erlang:master Aug 15, 2016
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.

3 participants