We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
make_default_short_help
1 parent 1339fd3 commit 218872dCopy full SHA for 218872d
2 files changed
CHANGES.rst
@@ -13,6 +13,7 @@ Unreleased
13
``semver.Version``. :issue:`3298` :pr:`3299`
14
- Fix pager test pollution under parallel execution by using pytest's
15
``tmp_path`` fixture instead of a shared temporary file path. :pr:`3238`
16
+- Mark ``make_default_short_help`` as private API. :issue:`3189`
17
18
Version 8.3.2
19
-------------
src/click/utils.py
@@ -57,7 +57,10 @@ def make_str(value: t.Any) -> str:
57
58
59
def make_default_short_help(help: str, max_length: int = 45) -> str:
60
- """Returns a condensed version of help string."""
+ """Returns a condensed version of help string.
61
+
62
+ :meta private:
63
+ """
64
# Consider only the first paragraph.
65
paragraph_end = help.find("\n\n")
66
0 commit comments