Make import take 3 args max so lp import <code> --upload --replace is possible (#2651)

This commit is contained in:
Federico López 2020-10-14 08:38:05 -03:00 committed by GitHub
parent 4811129ab1
commit e8b1214219
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ public class ImportCommand extends SingleCommand {
private final AtomicBoolean running = new AtomicBoolean(false);
public ImportCommand() {
super(CommandSpec.IMPORT, "Import", CommandPermission.IMPORT, Predicates.notInRange(1, 2));
super(CommandSpec.IMPORT, "Import", CommandPermission.IMPORT, Predicates.notInRange(1, 3));
}
@Override