code: static List<String> stringsWithEq(String name, @Nullable List<String> values) {
      List<String> result = new ArrayList<>();
      if (values != null) {
        for (String value : values) {
          result.addAll(stringWithEq(name, value));
        }
      }
      return result;
    }
docs: Produces the flag form of a repeated string, separated with an equals character.
  
  @return {@code [--name=value1, --name=value2, ...]} or {@code []} if value is null.