Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #44 - fitzgen:use-docopt-for-args, r=emilio
Use docopt for argument parsing This commit switches bindgen over to using the docopt crate for argument parsing instead of manual argument parsing. This required two notable changes in the arguments and flags style: 1. All flags of the form `-foo` are now of the form `--foo`. 2. We can no longer pass unknown flags straight through to clang. Instead, the user appends `--` after the bindgen flags and input header, after which point any more flags and arguments get collected and passed to clang. This required changes to the test runner and the `// bindgen-flags` comments. r? @emilio
- Loading branch information