code: public boolean handleOptions(Map<Option, String> map) {
          boolean ok = true;
          for (Map.Entry<Option, String> e: map.entrySet()) {
              try {
                  ok = ok & handleOption(e.getKey(), e.getValue());
              } catch (IllegalArgumentException ex) {
                  log.error(Errors.IllegalArgumentForOption(e.getKey().getPrimaryName(), ex.getMessage()));
                  ok = false;
              }
          }
          return ok;
      }
docs: Call handleOption for collection of options and corresponding values.
  @param map a collection of options and corresponding values
  @return true if all the calls are successful