     exit(EX_UNAVAILABLE)
 }
 
-if argCount == 1 || (argCount == 2 && displaySMCKeys) { printAll() }
-
-if let key = CLICheckKey.value { checkKey(key) }
+
+if argCount == 1 || (isSetNonBoolOptions.count == 0 &&
+                     isSetBoolOptions.count == 1 &&
+                     isSetBoolOptions[0].shortFlag == "d") {
+    printAll()
+}
 
 
 if CLIFanNumberFlag.isSet && CLIFanSpeedFlag.isSet {

    println("Usage: Must set fan number (-n) AND fan speed (-s)")
}


if CLITemperatureFlag.value { printTemperatureInformation() }
if CLIFanFlag.value         { printFanInformation()         }


if CLIDisplayKeysFlag.value { displaySMCKeys = true  }
else                        { displaySMCKeys = false }

let isSetNonBoolOptions = CLIOptions.filter({ $0.isSet == true &&
                                              $0 as? BoolOption == nil})
let isSetBoolOptions = CLIOptions.filter({ $0 as? BoolOption != nil })
                                 .map({$0 as! BoolOption})
                                 .filter({ $0.value == true})

//------------------------------------------------------------------------------
// MARK: FUNCTIONS
