Lines Matching refs:argument
33 * as it encounters an argument.
39 String argument;
50 * @param argv argument vector
63 * @throws ParseException if an illegal argument is passed
80 throw new ParseException("Unknown argument: " + argv[ii].substring(jj), ii);
86 // does this option take an argument?
88 // next should be an argument
90 // Rest of this is the argument
91 option.argument = argv[ii].substring(jj + 1);
94 // next argument vector contains the argument
97 option.argument = argv[ii];
99 throw new ParseException("Option " + chars[jj] + " requires an argument", ii);
135 * Get the argument to the current option
136 * @return the argument or null if none present (or allowed)
142 ret = options.get(current).argument;
148 * Get the index of the first argument
149 * @return the index of the first argument in the original array