diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e357ecc9..6877d206 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -11,7 +11,7 @@ This project adheres to `Semantic Versioning `_. * Added support for combining cookies specified on the CLI and in a session file (`#932`_). * Added out of the box SOCKS support with no extra installation (`#904`_). * Removed Tox testing entirely (`#943`_). -* Added a -quiet flag to enforce silent behaviour. +* Added a ``--quiet`` flag to enforce silent behaviour. `2.2.0`_ (2020-06-18) diff --git a/httpie/cli/argparser.py b/httpie/cli/argparser.py index 5c79a301..e9e01da2 100644 --- a/httpie/cli/argparser.py +++ b/httpie/cli/argparser.py @@ -165,7 +165,6 @@ class HTTPieArgumentParser(argparse.ArgumentParser): self.env.stdout_isatty = False if self.args.quiet: - self.env.devnull = open(DEVNULL_PATH, 'w') self.env.stdout = self.env.devnull self.env.stderr = self.env.devnull