| 642 | } |
| 643 | |
| 644 | bool CheckColor(std::string argument, DeviceOptions* currentDevOpts) |
| 645 | { |
| 646 | if(ParseColors(argument, currentDevOpts)) |
| 647 | { |
| 648 | currentDevOpts->hasOption = true; |
| 649 | return true; |
| 650 | } |
| 651 | else |
| 652 | { |
| 653 | std::cout << "Error: Invalid color value: " + argument << std::endl; |
| 654 | return false; |
| 655 | } |
| 656 | } |
| 657 | |
| 658 | bool OptionColor(std::vector<DeviceOptions>* current_devices, std::string argument, Options* options) |
| 659 | { |
no test coverage detected