summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2021-04-12 20:12:04 -0700
committerDavid Lord <davidism@gmail.com>2021-04-12 20:13:57 -0700
commitb1e7858cae16957d2d9eb2fc462b29e67cf9d320 (patch)
tree446a8813c3f637582c7f6da0ffca761438ebd3f3 /examples
parente3594e7f8a76dd15109d29570a6f263e56e412f2 (diff)
downloadclick-b1e7858cae16957d2d9eb2fc462b29e67cf9d320.tar.gz
rename resultcallback to result_callback
Diffstat (limited to 'examples')
-rw-r--r--examples/imagepipe/imagepipe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/imagepipe/imagepipe.py b/examples/imagepipe/imagepipe.py
index 57432fa..e2d2f03 100644
--- a/examples/imagepipe/imagepipe.py
+++ b/examples/imagepipe/imagepipe.py
@@ -20,7 +20,7 @@ def cli():
"""
-@cli.resultcallback()
+@cli.result_callback()
def process_commands(processors):
"""This result callback is invoked with an iterable of all the chained
subcommands. As in this example each subcommand returns a function