protected boolean checkForUndefinedCliParameters() {
        boolean allValid = true;

        for (String paramName : commandLine.getOptions()) {
            boolean currentValid = false;

            for (IOption parameter : root) {

                if (parameter.getName().equals(paramName)) {
                    currentValid = true;
                }
            }

            if (!currentValid) {
                System.out.println("Command line parameter " + paramName + " unrecognized.");
                allValid = false;
            }
        }

        return allValid;
    }