docs: public Properties getOptionProperties(String opt)
      {
          Properties props = new Properties();
  
          for (Option option : options)
          {
              if (opt.equals(option.getOpt()) || opt.equals(option.getLongOpt()))
              {
                  List<String> values = option.getValuesList();
                  if (values.size() >= 2)
                  {
                      // use the first 2 arguments as the key/value pair
                      props.put(values.get(0), values.get(1));
                  }
                  else if (values.size() == 1)
                  {
                      // no explicit value, handle it as a boolean
                      props.put(values.get(0), "true");
                  }
              }
          }
  
          return props;
      }