注解

如果你不希望选项名称与参数名称相同,可以使用 Option 注解来定义选项名称。

@Command
public String example(@Option(longNames = "arg") String arg1) {
	return "Hello " + arg1;
}