Softhouse / jargo

Argument and options parser for java
Other
17 stars 0 forks source link

Improve usage for limitTo(..) arguments #46

Closed jontejj closed 6 years ago

jontejj commented 6 years ago

For Arguments.stringArgument("--name", "-n").limitTo(s -> !s.isEmpty()).required().build();

: com.example.Klass$$Lambda$11/670700378@1f89ab83 [Required] is printed. Find a way to force a proper description. transform(..) is doing: String attemptAtGoodDescription = limiter.toString(); if(!attemptAtGoodDescription.contains("$$Lambda$")) return attemptAtGoodDescription; maybe do something similar?
jontejj commented 6 years ago

Fixed in the jontejj repo