src/main/java/wycc/util/CommandParser.java
private static Pair<String,Object> parseOption(String arg) {
		arg = arg.substring(2);
		String[] split = arg.split("=");
		Object data = null;
		if(split.length > 1) {
			data = parseData(split[1]);
		}
		return new Pair<>(split[0],data);
	}
private static Pair<String,Object> parseOption(String arg) {
		arg = arg.substring(2);
		String[] split = arg.split("=");
		Object data = null;
		if(split.length > 1) {
			data = parseData(split[1]);
		}
		return new Pair<>(split[0],data);
	}
private static Pair < String , Object > parseOption ( String arg ) { arg = arg . substring ( 2 ) ; String [ ] split = arg . split ( "=" ) ; Object data = null ; if ( split . length > 1 ) { data = parseData ( split [ 1 ] ) ; } return new Pair <> ( split [ 0 ] , data ) ; }
Parse an option which is either a string of the form "--name" or
"--name=data". Here, name is an arbitrary string and data is a string
representing a data value.

@param arg
The option argument to be parsed.
@return
Parse an option which is either a string of the form -- name or -- name = data . Here name is an arbitrary string and data is a string representing a data value .