liquibase-core/src/main/java/liquibase/integration/commandline/Main.java
private void validateCommandParameters(final List<String> messages) {
        checkForUnexpectedCommandParameter(messages);
        checkForMissingCommandParameters(messages);
        checkForMalformedCommandParameters(messages);
    }
private void validateCommandParameters(final List<String> messages) {
        checkForUnexpectedCommandParameter(messages);
        checkForMissingCommandParameters(messages);
        checkForMalformedCommandParameters(messages);
    }
Checks the command line for correctness and reports on unexpected, missing and/or malformed parameters.

@param messages an array of Strings to which messages for issues found will be added