From 9ef376acaa474dadcc68370c22410b853c07c26a Mon Sep 17 00:00:00 2001
From: Remko Popma
- * By default picocli allows boolean options (also called "flags" or "switches") to have an optional parameter. + * By default picocli allows boolean options (also called "flags" or "switches") to have an optional parameter, + * which must be either "true" or "false" (lowercase, other values are rejected). * You can make a boolean option take a required parameter by annotating your field with {@code arity="1"}. * For example:
*@Option(names = "-v", arity = "1") boolean verbose;