Skip to content

Commit

Permalink
Make usage message in pipx run show package_or_url (#1012)
Browse files Browse the repository at this point in the history
  • Loading branch information
dukecat0 authored Jul 4, 2023
1 parent ea68e4c commit 6ec6551
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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

0 comments on commit 6ec6551

Please sign in to comment.