throw new InvalidOptionUsageException("output-directory-retained", "must not be used when multiple URL arguments are specified");
}
return nonOptionArgs;
}
@Override
<BUG>public List<String> processRestartArguments(List<String> args, RestartOptions restartOptions) {
</BUG>
if ((restartOptions != null) && !restartOptions.isEmpty()) {
<BUG>List<String> argsRestart = new java.util.ArrayList<String>();
for (RestartOptions.Section s : restartOptions.getSections()) {</BUG>
if (s.getName().equals("ttpe")) {

throw new InvalidOptionUsageException("output-directory-retained", "must not be used when multiple URL arguments are specified");
}
return nonOptionArgs;
}
@Override
public List<String> processRestartArguments(List<String> args, List<String> nonOptionArgs, RestartOptions restartOptions) {
if ((restartOptions != null) && !restartOptions.isEmpty()) {
List<String> argsRestart = new java.util.ArrayList<String>();
for (int i = 0, n = args.size() - nonOptionArgs.size(); i < n; ++i)
argsRestart.add(args.get(i));
for (RestartOptions.Section s : restartOptions.getSections()) {
if (s.getName().equals("ttpe")) {
