String argp[] = opts.argList(); for (i = 0; i < argp.length; i++) { System.out.println("argv[" + i + "] : " + argp[i]);
String argp[] = opts.argList(); for (i = 0; i < argp.length; i++) { System.out.println("argv[" + i + "] : " + argp[i]);
args = opts.argList(); for (int i = acount; i < args.length; i++) { System.out.println("Parsing File: '" + args[i] + "'");
args = opts.argList(); for (int i = acount; i < args.length; i++) { System.out.println("Parsing File: '" + args[i] + "'");
public static void main(String args[]) throws Exception { Getopts opts = null; try { opts = new Getopts("d", args); if (opts.getSwitch('d').set) { debug = true; } } catch (InvalidSwitch is) { throw new Exception(is); } String testdir = null; if (opts.argList().length > 0) testdir = opts.argList()[0]; else testdir = "."; new TestDConnect2().testDConnect2(); }
String argp[] = opts.argList(); if (argp.length == 0) { if (verbose)