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

doc(book/error-handling): Remove Docopt args from case study code #33102

Conversation

teddywing
Copy link

In the Error Handling section, the final case study code which
demonstrates how to implement the "quiet" functionality references
command line arguments in Docopt style. This won't work with the project
code defined previously, which uses Getopts for command line option
parsing.

Modify the code to reference bindings defined earlier and create a new
binding for "quiet".

Apparently this was added when the Case Study section was first
introduced (e181226) even though the
example project used Getopts.

r? @steveklabnik

In the Error Handling section, the final case study code which
demonstrates how to implement the "quiet" functionality references
command line arguments in Docopt style. This won't work with the project
code defined previously, which uses Getopts for command line option
parsing.

Modify the code to reference bindings defined earlier and create a new
binding for "quiet".

Apparently this was added when the Case Study section was first
introduced (e181226) even though the
example project used Getopts.
@GuillaumeGomez
Copy link
Member

GuillaumeGomez commented Apr 20, 2016

Thanks!

r=me @steveklabnik

@bors
Copy link
Contributor

bors commented May 10, 2016

☔ The latest upstream changes (presumably #33523) made this pull request unmergeable. Please resolve the merge conflicts.

@teddywing
Copy link
Author

Wow, bors is pretty cool.

Looks like this is superseded by d75c079. Thanks!

@teddywing teddywing closed this May 10, 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.

4 participants