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

Let _show_help() use commands instead of self.commands #276

Merged
merged 1 commit into from
Aug 4, 2024

Conversation

DimitriPapadopoulos
Copy link
Contributor

@DimitriPapadopoulos DimitriPapadopoulos commented Aug 3, 2024

Depending on the context, _show_help() is called with a different commands argument. I believe the intent was to adapt the help message to the context. However, it would operate on self.commands instead of the commands argument, which would break this purpose.

Fixes #242.

Depending on the context, _show_help() is called with a different
commands argument. I believe the intent was to adapt the help message
to the context. However, it would operate on self.commands instead
of the commands argument, which would break this purpose.
@jaraco jaraco merged commit d07962c into pypa:main Aug 4, 2024
21 checks passed
@DimitriPapadopoulos DimitriPapadopoulos deleted the _show_help branch August 4, 2024 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Distribution._show_help documentation
2 participants