             return
         }
 
-        let warning = warningLevel(Double(currentSpeed),
+        let warning = warningLevel(value: Double(currentSpeed),
                                    maxValue: Double(fan.maxSpeed))
         let level = CLIWarnOption.wasSet ? "(\(warning.name))" : ""
         let color = CLIColorOption.wasSet ? warning.color : ANSIColor.Off

        print("\tMin (Previous):  \(fan.minSpeed) RPM")
        print("\tMin (Target):    \(fanSpeed) RPM")
        print("\tCurrent:         \(currentSpeed) RPM")
    } catch SMCKit.Error.KeyNotFound {
        print("This machine has no fan with id \(fanId)")
    } catch SMCKit.Error.NotPrivileged {
        print("This operation must be invoked as the superuser")
    } catch SMCKit.Error.UnsafeFanSpeed {
        print("Invalid fan speed. Must be <= max fan speed")
    } catch {
        print(error)

    }

    print("-- Power --")
    print("AC Present:       \(colorBoolOutput(value: information.isACPresent))")
    print("Battery Powered:  \(colorBoolOutput(value: information.isBatteryPowered))")
    print("Charging:         \(colorBoolOutput(value: information.isCharging))")
    print("Battery Ok:       \(colorBoolOutput(value: information.isBatteryOk))")
    print("Battery Count:    \(information.batteryCount)")
}

