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

tox --help reports wrong default verbosity #2708

Closed
mgedmin opened this issue Dec 14, 2022 · 0 comments · Fixed by #2709
Closed

tox --help reports wrong default verbosity #2708

mgedmin opened this issue Dec 14, 2022 · 0 comments · Fixed by #2709

Comments

@mgedmin
Copy link
Contributor

mgedmin commented Dec 14, 2022

Issue

tox --help says

verbosity:
  every -v increases, every -q decreases verbosity level, default INFO, map 0=CRITICAL|1=ERROR|2=WARNING|3=INFO|4=DEBUG|5=NOTSET

  -v, --verbose               increase verbosity (default: 2)
  -q, --quiet                 decrease verbosity (default: 0)

which is confusing, because it claims the default verbosity to be both 3/INFO and 2/WARNING. Experiments show that 2/WARNING is the true default verbosity.

I'll submit a PR to fix this shortly, but I need an issue number for the changelog note.

Environment

  • OS: Ubuntu 22.04
  • tox 4.0.11 (actually the current git main snapshot)
mgedmin added a commit to mgedmin/tox that referenced this issue Dec 14, 2022
gaborbernat pushed a commit that referenced this issue Dec 14, 2022
@gaborbernat gaborbernat added this to the 4.0.x milestone Dec 14, 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 a pull request may close this issue.

2 participants