MCPcopy Index your code
hub / github.com/clojure/clojure / processCommandLine

Method processCommandLine

src/jvm/clojure/lang/RT.java:262–270  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

260};
261
262public static List<String> processCommandLine(String[] args){
263 List<String> arglist = Arrays.asList(args);
264 int split = arglist.indexOf("--");
265 if(split >= 0) {
266 CMD_LINE_ARGS.bindRoot(RT.seq(arglist.subList(split + 1, args.length)));
267 return arglist.subList(0, split);
268 }
269 return arglist;
270}
271
272// duck typing stderr plays nice with e.g. swank
273public static PrintWriter errPrintWriter(){

Callers

nothing calls this directly

Calls 4

seqMethod · 0.95
bindRootMethod · 0.80
indexOfMethod · 0.45
subListMethod · 0.45

Tested by

no test coverage detected