Skip to content
Myr

Merge pull request #302 from sergey-kozub/master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

respect Command.add_help_option

authored by Armin Ronacher · committed by Armin Ronacher · parents a25d551, d079fb6 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:click/core.py+1 added-1 removed
740 unmodified lines
741742 def get_help_option(self, ctx):743 """Returns the help option object."""744 help_options = self.get_help_option_names(ctx)745 if not help_options:745 if not help_options or not self.add_help_option:746 return747748 def show_help(ctx, param, value):749 if value and not ctx.resilient_parsing:
883 unmodified lines