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

Avoid panic for missing flag value #893

Merged
merged 1 commit into from Sep 14, 2019
Merged

Commits on Sep 13, 2019

  1. Avoid panic for missing flag value

    Currently, in cases where a flag value is required but not passed and
    short-option handling is enabled, a panic will occur due to a nil
    pointer dereference. This prevents that situation from occurring,
    instead propagating the appropriate error.
    rliebz committed Sep 13, 2019
    Copy the full SHA
    06e3d38 View commit details
    Browse the repository at this point in the history