         }
 
         let warning = warningLevel(temperature, maxValue: maxTemperatureCelsius)
-        let level   = CLIWarnOption.value ? "(\(warning.name))" : ""
-        let color   = CLIColorOption.value ? warning.color : ANSIColor.Off
+        let level   = CLIWarnOption.wasSet ? "(\(warning.name))" : ""
+        let color   = CLIColorOption.wasSet ? warning.color : ANSIColor.Off
 
         print("\(color.rawValue)\(temperature)°C \(level)" +
               "\(ANSIColor.Off.rawValue)")

            let currentSpeed = try SMCKit.fanCurrentSpeed(fan.id)
            let warning = warningLevel(Double(currentSpeed),
                                       maxValue: Double(fan.maxSpeed))
            let level = CLIWarnOption.value ? "(\(warning.name))" : ""
            let color = CLIColorOption.value ? warning.color : ANSIColor.Off
            print("\tCurrent:  \(color.rawValue)\(currentSpeed) RPM \(level)" +
                                                    "\(ANSIColor.Off.rawValue)")
        } catch {


if let key = CLICheckKeyOption.value { checkKey(key) }

if CLITemperatureOption.wasSet        { printTemperatureInformation() }
if CLIUnknownTemperatureOption.wasSet { printTemperatureInformation(false) }
if CLIFanOption.wasSet                { printFanInformation()         }
if CLIPowerOption.wasSet              { printPowerInformation()       }
if CLIMiscOption.wasSet               { printMiscInformation()        }

SMCKit.close()
