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

Show usage with no arguments #814

Merged
merged 1 commit into from Feb 15, 2022
Merged

Show usage with no arguments #814

merged 1 commit into from Feb 15, 2022

Conversation

ericwb
Copy link
Member

@ericwb ericwb commented Feb 15, 2022

The current behavior is to display an error when no arguments are
given that no files were found. This is a non-standard way for
a command line.

Rather than an error message, no arguments should display the
usage of the command itself.

Partially fixes #678

Signed-off-by: Eric Brown browne@vmware.com

The current behavior is to display an error when no arguments are
given that no files were found. This is a non-standard way for
a command line.

Rather than an error message, no arguments should display the
usage of the command itself.

Signed-off-by: Eric Brown <browne@vmware.com>
@sigmavirus24 sigmavirus24 merged commit a3d8b4b into PyCQA:main Feb 15, 2022
@ericwb ericwb added this to the Release 1.7.3 milestone Feb 16, 2022
@ericwb ericwb deleted the usage branch February 21, 2022 21:34
This was referenced Feb 28, 2022
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.

Conform more to command line standards
2 participants