required
If a groupChoice or groupSwitch option is not called on the command line, throw a MissingOption exception.
Example:
option().groupChoice("foo" to FooOptionGroup(), "bar" to BarOptionGroup()).required()
Content copied to clipboard
Make a mutuallyExclusiveOptions group required. If none of the options in the group are given, a UsageError is thrown.