jcommander
jcommander copied to clipboard
[Bug] unexpected throw ParameterException("Password parameter must have at most 1 argument.")
jCommander.parse(args)
throw ParameterException("Password parameter must have at most 1 argument.") when processing multiple fields marked as password
Thank you for reporting this bug. This is an open source project, so I like to invite you to file a pull request to fix it! :-)
@mkarg I just can't imagine how to fix it. There is clearly an error in defining the number of variables and possible values. Here is another clear example of an error in determining the number of input values.
Please fix it. Very painful.
A little more information
Thank you for this additional information. Do you feel confident writing a unit test for each bug?
@shaburov "ping";-)
@shaburov I am bit confused. Apparently this bug seemed to be important enough for you to set up a very decent report, but now you are not responding. Could you please pick up this conversation again? Thanks.