FileFormatI format = null;
DataSourceType protocol = null;
*/
- if (avm.containsArg(Arg.OPEN))
+ if (avm.containsArg(Arg.OPEN) || avm.containsArg(Arg.OPENNEW))
{
commandArgsProvided = true;
long progress = -1;
boolean first = true;
boolean progressBarSet = false;
AlignFrame af;
+ // Combine the OPEN and OPENNEW files into one list, along with whether it
+ // was OPEN or OPENNEW
List<Entry<Arg, ArgValue>> openAvList = new ArrayList<>();
avm.getArgValueList(Arg.OPEN).stream()
.forEachOrdered(av -> openAvList.add(