summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2020-03-09 11:41:48 -0700
committerGitHub <noreply@github.com>2020-03-09 11:41:48 -0700
commitc0329acd9bbcebfbeaa677647afd2279f0a2c3bf (patch)
tree583033789043efbfed56c6a8526b8c5ad337a32b /src
parent913ddf258dc973b79450f32169678f78770e1114 (diff)
parent0dbffb30c7a9165758bdd6753d3506aaea106dea (diff)
downloadclick-c0329acd9bbcebfbeaa677647afd2279f0a2c3bf.tar.gz
Merge pull request #1496 from pallets/fix-typo
ClickException goes to stderr
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):