} else for (int i=go.optind(); i<args.length; i++)
} else for (int i=go.getOptInd(); i<args.length; i++)
	public static void main(String[] args) {		GetOpt go = new GetOpt("hno:");		boolean numeric_option = false;		String outFileName = "(standard output)";		char c;		while ((c =go.getopt(args)) != 0) {			switch(c) {			case 'h':				doHelp(0);				break;			case 'n':				numeric_option = true;				break;			case 'o':				outFileName = go.optarg();				break;			default:				System.err.println("Unknown option character " + c);				doHelp(1);			}		}		System.out.print("Options: ");		System.out.print("Numeric: " + numeric_option + ' ');		System.out.print("Output: " + outFileName + ' ');		System.out.print("; Input: ");		if (go.optind() == args.length) {			doFile("(standard input)");		} else for (int i=go.optind(); i<args.length; i++)			doFile(args[i]);		System.out.println();	}