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

Displays the help information when running pdm directly #2081

Closed
leemars opened this issue Jul 5, 2023 · 0 comments · Fixed by #2082
Closed

Displays the help information when running pdm directly #2081

leemars opened this issue Jul 5, 2023 · 0 comments · Fixed by #2082
Labels
⭐ enhancement Improvements for existing features

Comments

@leemars
Copy link
Contributor

leemars commented Jul 5, 2023

Is your feature request related to a problem? Please describe.

No

Describe the solution you'd like

Unlike running commands like pip / pipenv / poetry directly, running pdm directly will display an error message "pdm: error: No command given". It would be more user-friendly to change it to have the same effect as "pdm -h" with exit code 0, to maintain consistency with other tools.

@leemars leemars added the ⭐ enhancement Improvements for existing features label Jul 5, 2023
@frostming frostming linked a pull request Jul 5, 2023 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐ enhancement Improvements for existing features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant