     for (int i = 0; i < deviceInfo.size(); i++) {
         std::cout << "------------------- " << getBoldText("Device " + intToString(i))  <<" -------------------\n";
         std::cout << "Name: " << getBoldText(deviceInfo[i].name) << std::endl;
-        
+
         std::cout << "Memory usage: ";
         std::cout << std::setw(5) << deviceInfo[i].usedMemory << "MiB" << " / " << std::setw(5) << deviceInfo[i].totalMemory << "MiB" << std::endl;
         std::cout << "Temperature: " << getTemperatureAsColorString(deviceInfo[i].temp) << deviceInfo[i].temp << "C" << REMOVE_ALL_ATTRIBUTES << std::endl;

        // the first iteration - looking for doesn't provided options.
        for (int i = 1; i < argc; ++i) {
            if (argvString[i].compare("-a") != 0 && argvString[i].compare("-h") != 0 && argvString[i].compare("--help") != 0) {
                throw std::string("Invalid combination of input arguments. Please run 'nvidia-smilart -h' for help.");
            } else {
                // while provides one options at one time.
                if (isAction) {
                    throw std::string("Invalid combination of input arguments. Please run 'nvidia-smilart -h' for help.");
                } else {
                    isAction = true;
                }

            } else if (argvString[i].compare("-h") == 0 || argvString[i].compare("--help") == 0) {
                isPrintHelpInfo = true;
            } else {
                throw std::string("Invalid combination of input arguments. Please run 'nvidia-cdl -h' for help.");
            }
        }
    }
