code: public static void acceptsPartition(OptionParser parser) {
          parser.acceptsAll(Arrays.asList(OPT_P, OPT_PARTITION), "partition id list")
                .withRequiredArg()
                .describedAs("partition-id-list")
                .withValuesSeparatedBy(',')
                .ofType(Integer.class);
      }
docs: Adds OPT_P | OPT_PARTITION option to OptionParser, with multiple
  arguments.
  
  @param parser OptionParser to be modified
  @param required Tells if this option is required or optional