Restore option_name parameter to BadOptionUsage
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Revert changes made to ``BadOptionUsage.__init__`` in 5f98f570c08a11e607cccfd9c1b787c69a6a67b7. Additionally, store ``option_name`` on the exception instance to allow programmatic access to it (this matches the behavior of several other exceptions) and document the param in ``BadOptionUsage``'s docstring. Fixes #474.
authored by Jon Banafato · committed by Jon Banafato · parent 607f015 · Browse files · 2 files+7 added−4 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+7 added−4 removed
- other:+7 added−4 removed