Skip to content
Myr

Merge pull request #1953 from ofek/patch-1

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

Fix help text when using env vars with defaults

authored by David Lord · committed by GitHub · parents ec94dd5, c159967 · 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:src/click/core.py+1 added-1 removed
2758 unmodified lines
2759 if self.required:2760 extra.append(_("required"))27612762 if extra:2763 extra_str = ";".join(extra)2763 extra_str = "; ".join(extra)2764 help = f"{help} [{extra_str}]" if help else f"[{extra_str}]"27652766 return ("; " if any_prefix_is_slash else " / ").join(rv), help2767
190 unmodified lines