Skip to content

Commit 7aa49dd

Browse files
authored
Merge pull request #11357 from sbidoul/mention-quiet-in-report-option-help
Mention --quiet in --report option help
2 parents ee7bcae + 77da6ae commit 7aa49dd

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
@@ -264,7 +264,9 @@ def add_options(self) -> None:
264264
"the provided requirements. "
265265
"Can be used in combination with --dry-run and --ignore-installed "
266266
"to 'resolve' the requirements. "
267-
"When - is used as file name it writes to stdout."
267+
"When - is used as file name it writes to stdout. "
268+
"When writing to stdout, please combine with the --quiet option "
269+
"to avoid mixing pip logging output with JSON output."
268270
),
269271
)
270272

0 commit comments

Comments
 (0)