opendj-server-legacy/src/main/java/org/opends/server/tools/RestoreDB.java
@@ -173,6 +173,7 @@ .shortIdentifier('l') .description(INFO_RESTOREDB_DESCRIPTION_LIST_BACKUPS.get()) .buildAndAddToParser(argParser); verifyOnly = BooleanArgument.builder(OPTION_LONG_DRYRUN) .shortIdentifier(OPTION_SHORT_DRYRUN) @@ -218,10 +219,8 @@ return 0; } if (listBackups.isPresent() && !runOffline()) { printWrappedText(err, ERR_LDAP_CONN_INCOMPATIBLE_ARGS.get(listBackups.getLongIdentifier())); return 1; if (listBackups.isPresent()) { runOfflineArg.setPresent(true); } // Checks the version - if upgrade required, the tool is unusable opendj-server-legacy/src/main/java/org/opends/server/tools/tasks/TaskTool.java
@@ -88,7 +88,7 @@ private TaskScheduleArgs taskScheduleArgs; /** Argument used to know if the tool should be run in offline mode. */ private BooleanArgument runOfflineArg; protected BooleanArgument runOfflineArg; /** This CLI is always using the administration connector with SSL. */ private static final boolean alwaysSSL = true;