Skip to content

Commit c4b0e7c

Browse files
committed
pip: Clarify ignore-pkg format
1 parent 27ba344 commit c4b0e7c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

pip/flatpak-pip-generator.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,15 @@
8282
help="Ignore errors when downloading packages",
8383
)
8484
parser.add_argument(
85-
"--ignore-pkg", nargs="*", help="Ignore a package when generating the manifest"
85+
"--ignore-pkg",
86+
nargs="*",
87+
help=(
88+
"Ignore packages when generating the manifest. "
89+
"Needs to be specified with version constraints if present "
90+
"(e.g. --ignore-pkg 'foo>=3.0.0' 'baz>=21.0')."
91+
),
8692
)
93+
8794
opts = parser.parse_args()
8895

8996
if opts.requirements_file and opts.pyproject_file:

0 commit comments

Comments
 (0)