Skip to content
Myr

Fix help text when using env vars with defaults

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

authored by Ofek Lev · committed by Ofek Lev · parent ec94dd5 · 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