Skip to content

Make README and examples work again #4

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
Jun 20, 2014
Merged

Make README and examples work again #4

merged 1 commit into from
Jun 20, 2014

Conversation

Minoru
Copy link
Contributor

@Minoru Minoru commented Jun 19, 2014

It seems like the code was changed a bit without updating the relevant parts of documentation and examples. I fixed what I could spot. I'm pretty sure the code from README.md is correct now, but I didn't have much time to test example program thorougly.

Hope this helps.

ryanartecona added a commit that referenced this pull request Jun 20, 2014
Make README and examples work again
@ryanartecona ryanartecona merged commit cd682bb into docopt:master Jun 20, 2014
@ryanartecona
Copy link
Member

Thank you. You are right, I missed those.

The change is because the reference implementation supports <arg> in angle brackets and ARG in caps. docopt.hs previously only supported <arg>, and now supports both. Having to specify the angle brackets in an argument lookup does feel like a mistake, though.

I am currently abroad on vacation, but I will take a closer look at this when I get back and get my hands on a computer.

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