Skip to content

Commit

Permalink
Mention --quiet in --report option help
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Aug 7, 2022
1 parent 8dc39f0 commit 77da6ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/11357.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Mention that --quiet must be used when writing the installation report to stdout.
4 changes: 3 additions & 1 deletion src/pip/_internal/commands/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,9 @@ def add_options(self) -> None:
"the provided requirements. "
"Can be used in combination with --dry-run and --ignore-installed "
"to 'resolve' the requirements. "
"When - is used as file name it writes to stdout."
"When - is used as file name it writes to stdout. "
"When writing to stdout, please combine with the --quiet option "
"to avoid mixing pip logging output with JSON output."
),
)

Expand Down

0 comments on commit 77da6ae

Please sign in to comment.