how to use property=value in CLI commons Library
问题 I am trying to use the OptionBuilder.withArgName( "property=value" ) If my Option is called status and my command line was: --status p=11 s=22 It only succeeds to identify the first argument which is 11 and it fails to identify the second argument... Option status = OptionBuilder.withLongOpt("status") .withArgName( "property=value" ) .hasArgs(2) .withValueSeparator() .withDescription("Get the status") .create('s'); options.addOption(status); Thanks for help in advance 回答1: You can access to