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

Fix incorrectTypeForFlagError for unknowns #1708

Merged
merged 1 commit into from
May 1, 2023

Commits on Mar 25, 2023

  1. v2 - Fix incorrectTypeForFlagError for unknowns

    The `reflect` package doesn't always know what to call a type in
    `(reflect.Type).Name()`, but `fmt.Errorf("%T")` always gets it right.
    Use that so we get actionable error messages.
    danhunsaker committed Mar 25, 2023
    Configuration menu
    Copy the full SHA
    ef7074a View commit details
    Browse the repository at this point in the history