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

Arg processing prevents --help #5

Closed
ess opened this issue Oct 19, 2015 · 0 comments
Closed

Arg processing prevents --help #5

ess opened this issue Oct 19, 2015 · 0 comments
Assignees
Labels

Comments

@ess
Copy link
Owner

ess commented Oct 19, 2015

The internals of execute! currently process the flags, then the args, then handles them.

The problem with this is that processing the args before handling -h/--help prevents the help action from happening.

Two possible solutions:

  • handle help specifically before handling args
  • enable help when arg errors are raised
@ess ess added the bug label Oct 19, 2015
@ess ess self-assigned this Oct 19, 2015
@ess ess closed this as completed Oct 19, 2015
@ess ess removed the in progress label Oct 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant