MCPcopy Create free account
hub / github.com/dynjs/dynjs / showUsage

Method showUsage

src/main/java/org/dynjs/cli/Main.java:155–158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153 }
154
155 private void showUsage() {
156 getOutputStream().println("usage: " + getBinaryName() + getParser().printExample(OptionHandlerFilter.ALL, null) + "\n");
157 getParser().printUsage(getOutputStream());
158 }
159
160 protected void startRepl() {
161 Repl repl = new Repl(runtime, System.in, getOutputStream(), getWelcomeMessage(), getPrompt());

Callers 1

runMethod · 0.95

Calls 3

getOutputStreamMethod · 0.95
getBinaryNameMethod · 0.95
getParserMethod · 0.95

Tested by

no test coverage detected