If level number specified on command-line exceeds maximum, use maximum level number instead.