MCPcopy Create free account
hub / github.com/MTrop/DoomTools / main

Method main

src/main/java/net/mtrop/doom/tools/WadScriptMain.java:1548–1564  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

1546 }
1547
1548 public static void main(String[] args)
1549 {
1550 if (args.length == 0)
1551 {
1552 splash(System.out);
1553 usage(System.out);
1554 System.exit(-1);
1555 return;
1556 }
1557
1558 try {
1559 System.exit(call(options(System.out, System.err, System.in, args)));
1560 } catch (OptionParseException e) {
1561 System.err.println(e.getMessage());
1562 System.exit(-1);
1563 }
1564 }
1565
1566 /**
1567 * Prints the splash.

Callers

nothing calls this directly

Calls 6

splashMethod · 0.95
usageMethod · 0.95
callMethod · 0.95
optionsMethod · 0.95
getMessageMethod · 0.80
printlnMethod · 0.45

Tested by

no test coverage detected