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

Conversation

dukecat0
Copy link
Member

@dukecat0 dukecat0 commented Jul 1, 2023

  • I have added an entry to docs/changelog.md

Summary of changes

Make usage message in pipx run show package_or_url instead of package_name

Before:

$ pipx run pymodbus[repl]
'pymodbus' executable script not found in package 'pymodbus'.
Available executable scripts:
    pymodbus.console - usage: 'pipx run --spec pymodbus pymodbus.console [arguments?]'
    pymodbus.server - usage: 'pipx run --spec pymodbus pymodbus.server [arguments?]'
    pymodbus.simulator - usage: 'pipx run --spec pymodbus pymodbus.simulator [arguments?]'

After:

$ pipx run pymodbus[repl]
'pymodbus' executable script not found in package 'pymodbus'.
Available executable scripts:
    pymodbus.console - usage: 'pipx run --spec pymodbus[repl] pymodbus.console [arguments?]'
    pymodbus.server - usage: 'pipx run --spec pymodbus[repl] pymodbus.server [arguments?]'
    pymodbus.simulator - usage: 'pipx run --spec pymodbus[repl] pymodbus.simulator [arguments?]'

@dukecat0 dukecat0 merged commit 6ec6551 into pypa:main Jul 4, 2023
11 checks passed
@dukecat0 dukecat0 deleted the print-extra-in-usage branch July 4, 2023 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants