Skip to content

Commit

Permalink
Mention that dependencies and -r can't be passed at the same time
Browse files Browse the repository at this point in the history
  • Loading branch information
dukecat0 committed Aug 14, 2023
1 parent 8a10318 commit 36245ee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pipx/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,10 @@ def _add_inject(subparsers, venv_completer: VenvCompleter) -> None:
"-r",
metavar="FILE",
action="append",
help="Inject packages from the given requirements file",
help=(
"Inject packages from the given requirements file. "
"Once this option is passed, dependencies passing from the command line will be omitted"
),
)
p.add_argument("--verbose", action="store_true")

Expand Down

0 comments on commit 36245ee

Please sign in to comment.