code: public static void acceptsJson(OptionParser parser) {
          parser.acceptsAll(Arrays.asList(OPT_J, OPT_JSON),
                            "fetch key/entry by key value of json type")
                .withRequiredArg()
                .describedAs("key-list")
                .withValuesSeparatedBy(',')
                .ofType(String.class);
      }
docs: Adds OPT_J | OPT_JSON option to OptionParser, with multiple arguments.
  
  @param parser OptionParser to be modified
  @param required Tells if this option is required or optional