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

Display help message when pipx install is run without arguments #1266

Merged
merged 2 commits into from
Feb 25, 2024

Conversation

dukecat0
Copy link
Member

  • I have added a news fragment under changelog.d/ (if the patch affects the end users)

Summary of changes

Another minor fix.

Original behavior:

$ pipx install
$

New behavior:

$ pipx install
usage: pipx install [-h] [--quiet] [--verbose] [--include-deps] [--force] [--suffix SUFFIX] [--python PYTHON] [--fetch-missing-python]
                    [--preinstall PREINSTALL] [--system-site-packages] [--index-url INDEX_URL] [--editable] [--pip-args PIP_ARGS]
                    package_spec [package_spec ...]
pipx install: error: the following arguments are required: package_spec

Test plan

Tested by running

pipx install

@chrysle chrysle merged commit 7e2e363 into pypa:main Feb 25, 2024
14 checks passed
@dukecat0 dukecat0 deleted the nargs branch February 25, 2024 17:42
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.

3 participants