code: public static Properties argsToProperties(String[] args) {
      return argsToProperties(args, Collections.<String,Integer>emptyMap());
    }
docs: In this version each flag has zero or one argument. It has one argument
  if there is a thing following a flag that does not begin with '-'.  See
  {@link #argsToProperties(String[], Map)} for full documentation.
  
  @param args Command line arguments
  @return A Properties object representing the arguments.