Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
strconv: ParseBool errors are verbose #29306
Failure to parse a boolean flag results in this error:
Room for improvement:
The other strconv.Parse* functions are similarly verbose. I've gotten into the habit of throwing away their errors and writing my own. e.g. "invalid int: %q".