public static int optionLength(String option) {
    if (option.equals("-output")) {
      return 2;

    } else {
      // Unknown option
      return 0;
    }
  }
Returns the number of arguments for the given command option (include the option itself)
geode-core/src/test/java/org/apache/geode/UnitTestDoclet.java