Fix handling of explicit flags, fix example in README.md.