summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2020-03-09 11:53:46 -0700
committerDavid Lord <davidism@gmail.com>2020-03-09 11:53:46 -0700
commitc3eac6b887ecc2012b28356c229c443a50523f7f (patch)
tree955eb39b122e7e21648a5642f15f9953f249503a /src
parent1e054e0c8713ed83716a2037bdb17125bb734b33 (diff)
parentef1dd690b5eaa4def8baef487fb37e5f0e144ec2 (diff)
downloadclick-c3eac6b887ecc2012b28356c229c443a50523f7f.tar.gz
Merge branch '7.x'
Diffstat (limited to 'src')
-rw-r--r--src/click/exceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/click/exceptions.py b/src/click/exceptions.py
index 9cc2f59..592ee38 100644
--- a/src/click/exceptions.py
+++ b/src/click/exceptions.py
@@ -39,7 +39,7 @@ class ClickException(Exception):
def show(self, file=None):
if file is None:
file = get_text_stderr()
- echo("Error: {}".format(self.format_message(), file=file))
+ echo("Error: {}".format(self.format_message()), file=file)
class UsageError(ClickException):