package picocli.examples.arggroup; import picocli.CommandLine; import picocli.CommandLine.ArgGroup; import picocli.CommandLine.MissingParameterException; import picocli.CommandLine.Option; /** *
* The example below sets {@code exclusive = false}, and defines a command with * dependent options `-a`, `-b` and `-c` that must co-occur. *
* Note that the options are defined as {@code required = true}; this means required * within the group, not required within the command. *
* The group itself has a `multiplicity` attribute that defines how many times * the group may be specified within the command. In this example the group has the * default multiplicity, {@code multiplicity = "0..1"}, * meaning that the group may be omitted or specified once. *
* The synopsis of this command is rendered as {@code