I am writing a Java application that takes command line arguments which are processed using Apache Commons CLI with the GnuParser.For reasons that are not interesting to get into, I would like it to s
o.getValue() return the value for the option. But for a multi arg input, say -h this is a heading, the function returns only the first string \'this\';开发者_如何学运维 how do I fetch the full param:
I\'m using the Apache Commons CLI to handle command line arguments in Java. I\'ve declared the a and b options and I\'m able to access the value using CommandLine.getOptionValue().
主料:土豆500克腊肉3个辅料:蒜苗胡萝卜魔芋青蒜片开发者_开发问答辣酱红椒干锅土豆做法:1。土豆片用清水洗两遍,沥干水分备用,魔芋切成细条,青蒜切成小块,腊肉切成小块,红辣椒切丁,胡萝卜切丝备用。