use of cz.cuni.mff.d3s.trupple.main.exceptions.WrongOptionsException in project TrufflePascal by Aspect26.
the class CompilerMain method parseArguments.
private static Settings parseArguments(String[] args) throws CompilerException {
Settings settings = new Settings();
CmdLineParser argumentsParser = new CmdLineParser(settings);
try {
argumentsParser.parseArgument(args);
return settings;
} catch (CmdLineException e) {
throw new WrongOptionsException(e, argumentsParser);
}
}
Aggregations