Skip to content

Commit 77da6ae

Browse files
committed
Mention --quiet in --report option help
1 parent 8dc39f0 commit 77da6ae

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

news/11357.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Mention that --quiet must be used when writing the installation report to stdout.

src/pip/_internal/commands/install.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,9 @@ def add_options(self) -> None:
263263
"the provided requirements. "
264264
"Can be used in combination with --dry-run and --ignore-installed "
265265
"to 'resolve' the requirements. "
266-
"When - is used as file name it writes to stdout."
266+
"When - is used as file name it writes to stdout. "
267+
"When writing to stdout, please combine with the --quiet option "
268+
"to avoid mixing pip logging output with JSON output."
267269
),
268270
)
269271

0 commit comments

Comments
 (0)