private void checkShortArgResults(String argChars, String[] args, boolean shouldFail) {
		int errs = 0;
		log.info("** START NEW WAY ** " + argChars);
		GetOpt go2 = new GetOpt(argChars);
		Map<String,String> m = go2.parseArguments(args);
		if (m.size() == 0) {
			log.info("NO ARGS MATCHED");
		}
		Iterator<Map.Entry<String,String>> it = m.entrySet().iterator();
		while (it.hasNext()) {
			Map.Entry<String,String> e = it.next();
			String key = e.getKey();
			String val = e.getValue();
			char c = key.charAt(0);
			if (c == '?') {
				System.err.print("Found " + c);
				errs++;
			}
			if (val == null || val.equals(""))
				log.info("(no option)");
			else
				log.info("Option " + val);
		}

		List filenames = go2.getFilenameList();
		for (int i = 0; i < filenames.size(); i++) {
			String fileName = (String)filenames.get(i);
			log.info("Filename-like arg " + fileName);
			assertFalse(fileName.startsWith("-"));
		}

		if (shouldFail) {
			if (errs == 0) {
				fail("** FAILURE ** Expected errors not found");
			}
		} else {
			if (errs != 0) {
				fail("** FAILURE ** Unexpected errors were found");
			}
		}
	}