public static void printUsageAndExit(OptionParser parser, String message) {
        System.err.println(message);
        try {
            parser.printHelpOn(System.err);
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
        Exit.exit(1, message);
    }
Check that none of the listed options are present with the combination of used options.
server-common/src/main/java/org/apache/kafka/server/util/CommandLineUtils.java