void (@NotNull Command command) { if (accepted) { command.put("--trust-server-cert"); // force --non-interactive as it is required by --trust-server-cert, but --non-interactive is not default mode for 1.7 or earlier command.put("--non-interactive"); } }