         findProccessesRunningOnDevices(deviceInfoFromNVML);
 
         printDeviceInfo(deviceInfoFromNVML, isPrintOptionalInfoOfDevice);
-        
+
     } catch (std::string &message) {
         std::cout << message << std::endl;
     } catch (...) {


            deviceInfoFromNVML[i].runningProcessesInfo.push_back(runningProcessInfo);
        }
        
        pclose(file);
    }
}

        // 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-cdl -h' for help.");
            } else {
                // while provides one options at one time.
                if (isAction) {
                    throw std::string("Invalid combination of input arguments. Please run 'nvidia-cdl -h' for help.");
                } else {
                    isAction = true;
                }
