| 421 | } |
| 422 | |
| 423 | void OptionVersion() |
| 424 | { |
| 425 | std::string version_text; |
| 426 | version_text += "OpenRGB "; |
| 427 | version_text += VERSION_STRING; |
| 428 | version_text += ", for controlling RGB lighting.\n"; |
| 429 | version_text += " Version:\t\t "; |
| 430 | version_text += VERSION_STRING; |
| 431 | version_text += "\n Build Date\t\t "; |
| 432 | version_text += BUILDDATE_STRING; |
| 433 | version_text += "\n Git Commit ID\t\t "; |
| 434 | version_text += GIT_COMMIT_ID; |
| 435 | version_text += "\n Git Commit Date\t "; |
| 436 | version_text += GIT_COMMIT_DATE; |
| 437 | version_text += "\n Git Branch\t\t "; |
| 438 | version_text += GIT_BRANCH; |
| 439 | version_text += "\n"; |
| 440 | |
| 441 | std::cout << version_text << std::endl; |
| 442 | } |
| 443 | |
| 444 | void OptionListDevices(std::vector<RGBController *>& rgb_controllers) |
| 445 | { |