phpbb / phpbb-translation-validator

A tool checking packages for compliance with the policies https://area51.phpbb.com/docs/dev/3.2.x/language/guidelines.html
GNU General Public License v2.0
8 stars 8 forks source link

--verbose not working #61

Closed scootergrisen closed 5 years ago

scootergrisen commented 5 years ago

Cant seem to use --verbose as described in help text:

--verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

With "--verbose=1" i get:

[RuntimeException] The "--verbose" option does not accept a value.

Using phpbb-translation-validator-1.4.1.zip

DavidIQ commented 5 years ago

We are on version 1.5.1. Did you make a typo?

DavidIQ commented 5 years ago

Should be using 1.5.1 available in the releases area of this repo.

scootergrisen commented 5 years ago

Same with 1.5.1.

With the text:

--verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

I would think i could do:

--verbose=1
--verbose=2
--verbose=3

But maybe 1, 2, 3 is the number of v's?

-v
-vv
-vvv

Using just "--verbose" seems to give the same output as without it.

paul999 commented 5 years ago

Verbose doesn't expect a value, you just use --verbose. However, I don't think anything extra is outputted in verbose mode. The option is inherited from symfony.

Crizz0 commented 5 years ago

--display-notices will give you everything the validator can output.