rollerworks/PasswordStrengthBundle

Blacklist Update Command File Option Bug

austinh opened this issue · 0 comments

I get the following error when running php app/console rollerworks-password:blacklist:update --file="john.txt"

[RuntimeException]

The "--file" option does not accept a value.

This is caused by https://github.com/rollerworks/PasswordStrengthBundle/blob/master/src/Command/BlacklistUpdateCommand.php#L30

If set to null, Symfony defaults to InputOption::NONE and therefore cannot take a value. I will include a pull request to fix this.