@Override protected void buildOptions(Options options) { super.buildOptions(options); addOption(options, null, OPTION_FORMAT, true); addOption(options, null, OPTION_CATALOG, true); addOption(options, null, OPTION_SCHEMA, true); addOption(options, null, OPTION_TABLE, true); addOption(options, null, OPTION_USE_VARIABLE_DATES, false); addOption(options, null, OPTION_COMMIT, true); addOption(options, null, OPTION_INTERVAL, true); addOption(options, null, OPTION_IGNORE, false); addOption(options, null, OPTION_REPLACE, false); addOption(options, null, OPTION_FORCE, false); addOption(options, null, OPTION_ALTER, false); addOption(options, null, OPTION_FILTER_CLASSES, true); addOption(options, null, OPTION_DROP_IF_EXISTS, false); addOption(options, null, OPTION_ALTER_CASE, false); }
@Override protected void printHelp(CommandLine cmd, Options options) { System.out.println(app + " version " + Version.version()); System.out.println("Import data from file to database tables.\n"); super.printHelp(cmd, options); }