summaryrefslogtreecommitdiff
path: root/docs/upgrading.rst
diff options
context:
space:
mode:
authorKevin Yap <me@kevinyap.ca>2014-06-14 19:50:56 -0700
committerKevin Yap <me@kevinyap.ca>2014-06-14 19:50:56 -0700
commite25a95b7811a1a250a17c931ef32367c683882d0 (patch)
treecef8725aa606a7aeeebef2802b34f1f4cefdf646 /docs/upgrading.rst
parentf1a846081b241c742c9700354ebe16f56c1c28fc (diff)
downloadclick-e25a95b7811a1a250a17c931ef32367c683882d0.tar.gz
Capitalized instances of Click (addressing #128)
Diffstat (limited to 'docs/upgrading.rst')
-rw-r--r--docs/upgrading.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/upgrading.rst b/docs/upgrading.rst
index 32b6955..5ece494 100644
--- a/docs/upgrading.rst
+++ b/docs/upgrading.rst
@@ -16,11 +16,11 @@ callbacks. Before 2.0, the callback was invoked with ``(ctx, value)``
whereas now it's ``(ctx, param, value)``. This change was necessary as it
otherwise made reusing callbacks too complicated.
-To ease the transition click will still accept old callbacks. Starting
-with click 3.0 it will start to issue a warning to stderr to encourage you
+To ease the transition Click will still accept old callbacks. Starting
+with Click 3.0 it will start to issue a warning to stderr to encourage you
to upgrade.
-In case you want to support both click 1.0 and click 2.0, you can make a
+In case you want to support both Click 1.0 and Click 2.0, you can make a
simple decorator that adjusts the signatures::
import click
@@ -39,6 +39,6 @@ With that helper you can then write something like this::
def callback(ctx, param, value):
return value.upper()
-Note that because click 1.0 did not pass a parameter, the `param` argument
+Note that because Click 1.0 did not pass a parameter, the `param` argument
here would be `None`, so a compatibility callback could not use that
argument.