diff options
author | David Lord <davidism@gmail.com> | 2021-12-28 12:03:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-28 12:03:28 -0700 |
commit | 6987b4cdffcd995b991b7267344e938510bf7d33 (patch) | |
tree | 325a3ff3e391d5b5e8a9ffedf5d33471e1cffaa1 /CHANGES.rst | |
parent | 08a825d2fcc2d7704b883a97227d6e89839c6a12 (diff) | |
parent | 280827938a505b2a380ee96b16d2f431605bad83 (diff) | |
download | click-6987b4cdffcd995b991b7267344e938510bf7d33.tar.gz |
Merge pull request #2100 from pocek/issue-2099
Allow a callable default to have its own string representation
Diffstat (limited to 'CHANGES.rst')
-rw-r--r-- | CHANGES.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index 92f69dc..cfc9280 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -9,6 +9,8 @@ Unreleased same as the string ``"-"``. :issue:`2106` - The ``option`` and ``argument`` decorators preserve the type annotation of the decorated function. :pr:`2155` +- A callable default value can customize its help text by overriding + ``__str__`` instead of always showing ``(dynamic)``. :issue:`2099` Version 8.0.3 |