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

align error message for invalid verbosity value #447

Merged
merged 1 commit into from
Dec 18, 2020

Conversation

adamralph
Copy link
Owner

Before

> minver --auto-increment foo
MinVer: error : Invalid auto increment 'foo'. Valid values are major, minor, or patch (default)
> minver --verbosity foo
MinVer: error : Invalid verbosity 'foo'. The value must be e[rror], w[arn], i[nfo] (default), d[ebug], or t[race] (case insensitive).

After

> minver --auto-increment foo
MinVer: error : Invalid auto increment 'foo'. Valid values are major, minor, or patch (default)
> minver --verbosity foo
MinVer: error : Invalid verbosity 'foo'. Valid values are e[rror], w[arn], i[nfo] (default), d[ebug], or t[race] (case insensitive).

And similar for the regular MinVer package.

@adamralph adamralph added the enhancement New feature or request label Dec 17, 2020
@adamralph adamralph added this to the 2.4.0 milestone Dec 17, 2020
@adamralph adamralph merged commit 64edd80 into master Dec 18, 2020
@adamralph adamralph deleted the align-error-messages branch December 18, 2020 06:15
@adamralph
Copy link
Owner Author

Released in 2.4.0-beta.1 —

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant