[CLI-224] Add static builder methods to Option, check if at least one of opt/longOpt...
authorThomas Neidhart <tn@apache.org>
Sun, 17 Feb 2013 11:11:06 +0000 (11:11 +0000)
committerThomas Neidhart <tn@apache.org>
Sun, 17 Feb 2013 11:11:06 +0000 (11:11 +0000)
commitfaa6455a9a0bccf29d049f0b0958eb9b2e804fc3
tree28590a60d8827014b7a40f44e6172eebbcd569ce
parentb06091d23d7d2780fbb531d0082cee6999dbaa7f
[CLI-224] Add static builder methods to Option, check if at least one of opt/longOpt has been specified, update javadoc.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@1447005 13f79535-47bb-0310-9956-ffa450edef68
src/main/java/org/apache/commons/cli/Option.java
src/main/java/org/apache/commons/cli/OptionBuilder.java
src/main/java/org/apache/commons/cli/PatternOptionBuilder.java
src/test/java/org/apache/commons/cli/OptionTest.java