Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make usage message in pipx run show package_or_url #1012

Merged
merged 3 commits into from
Jul 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## dev

- Make usage message in `pipx run` show `package_or_url`, so extra will be printed out as well
- Add `--force-reinstall` to pip arguments when `--force` was passed
- Use the py launcher, if available, to select Python version with the `--python` option
- Support including requirements in scripts run using `pipx run` (#916)
Expand Down
2 changes: 1 addition & 1 deletion src/pipx/commands/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def _download_and_run(
app_filename = app
else:
all_apps = (
f"{a} - usage: 'pipx run --spec {package_name} {a} [arguments?]'"
f"{a} - usage: 'pipx run --spec {package_or_url} {a} [arguments?]'"
for a in apps
)
raise PipxError(
Expand Down
Loading