Skip to content
Myr

Merge branch '3.x-maintenance'

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

authored by Armin Ronacher · committed by Armin Ronacher · parents dd51a1d, 04f795c · Browse files · 1 file+4 added−0 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+4 added−0 removed

  • other:+4 added−0 removed

1 file+4 added−0 removed

modified:click/core.py+4 added
800 unmodified lines
801 :param chain: if this is set to `True` chaining of multiple subcommands802 is enabled. This restricts the form of commands in that803 they cannot have optional arguments but it allows804 multiple commands to be chained together.805 :param result_callback: the result callback to attach to this multi806 command.807 """808 allow_extra_args = True809 allow_interspersed_args = False810
11 unmodified lines
822 else:823 subcommand_metavar = SUBCOMMAND_METAVAR824 self.subcommand_metavar = subcommand_metavar825 self.chain = chain826 #: The result callback that is stored. This can be set or827 #: overridden with the :func:`resultcallback` decorator.828 self.result_callback = result_callback829830 def collect_usage_pieces(self, ctx):831 rv = Command.collect_usage_pieces(self, ctx)
740 unmodified lines