summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2021-12-26 18:21:26 -0700
committerDavid Lord <davidism@gmail.com>2021-12-26 18:21:26 -0700
commit051d57cef4ce59212dc1175ad4550743bf47d840 (patch)
tree42ab780240b0b4b2158995d163bd382f605f5c70 /docs
parent2198a8c3bfcbfd211dc14c7627c6aea1ba0152e4 (diff)
parent490ac01891e726c8b70a700b91da6c137699382a (diff)
downloadclick-051d57cef4ce59212dc1175ad4550743bf47d840.tar.gz
Merge remote-tracking branch 'origin/8.0.x'
Diffstat (limited to 'docs')
-rw-r--r--docs/options.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/options.rst b/docs/options.rst
index b54fbba..5c23bad 100644
--- a/docs/options.rst
+++ b/docs/options.rst
@@ -559,10 +559,10 @@ parameter ``--foo`` was required and defined before, you would need to
specify it for ``--version`` to work. For more information, see
:ref:`callback-evaluation-order`.
-A callback is a function that is invoked with two parameters: the current
-:class:`Context` and the value. The context provides some useful features
-such as quitting the application and gives access to other already
-processed parameters.
+A callback is a function that is invoked with three parameters: the
+current :class:`Context`, the current :class:`Parameter`, and the value.
+The context provides some useful features such as quitting the
+application and gives access to other already processed parameters.
Here an example for a ``--version`` flag: