Skip to content

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

Merged
jaraco merged 1 commit intopypa:mainfrom
DimitriPapadopoulos:_show_help
Aug 4, 2024
Merged

Let _show_help() use commands instead of self.commands#276
jaraco merged 1 commit intopypa:mainfrom
DimitriPapadopoulos:_show_help

Conversation

@DimitriPapadopoulos
Copy link
Copy Markdown
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
@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