| | |
| | | import static org.opends.server.messages.ToolMessages.*; |
| | | import static org.opends.server.util.ServerConstants.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | import static org.opends.server.tools.ToolConstants.*; |
| | | |
| | | |
| | | |
| | |
| | | try |
| | | { |
| | | configClass = |
| | | new StringArgument("configclass", 'C', "configClass", true, false, |
| | | true, "{configClass}", |
| | | new StringArgument("configclass", OPTION_SHORT_CONFIG_CLASS, |
| | | OPTION_LONG_CONFIG_CLASS, true, false, |
| | | true, OPTION_VALUE_CONFIG_CLASS, |
| | | ConfigFileHandler.class.getName(), null, |
| | | MSGID_BACKUPDB_DESCRIPTION_CONFIG_CLASS); |
| | | configClass.setHidden(true); |
| | |
| | | argParser.addArgument(incrementalBaseID); |
| | | |
| | | |
| | | compress = new BooleanArgument("compress", 'c', "compress", |
| | | compress = new BooleanArgument("compress", OPTION_SHORT_COMPRESS, |
| | | OPTION_LONG_COMPRESS, |
| | | MSGID_BACKUPDB_DESCRIPTION_COMPRESS); |
| | | argParser.addArgument(compress); |
| | | |
| | |
| | | |
| | | |
| | | displayUsage = |
| | | new BooleanArgument("help", 'H', "help", |
| | | new BooleanArgument("help", OPTION_SHORT_HELP, |
| | | OPTION_LONG_HELP, |
| | | MSGID_BACKUPDB_DESCRIPTION_USAGE); |
| | | argParser.addArgument(displayUsage); |
| | | argParser.setUsageArgument(displayUsage); |