in src/main/java/org/apache/sling/kickstart/app/KickstartStarter.java [322:332]
private ControlAction getControlAction(String command) {
ControlAction answer = ControlAction.FOREGROUND;
try {
answer = ControlAction.valueOf(command.toUpperCase());
} catch (IllegalArgumentException e) {
throw new RuntimeException("Given Control Action is not valid: '" + command.toUpperCase() + "'");
} catch (NullPointerException e) {
// Ignore as we set the default to FOREGROUND anyhow
}
return answer;
}