added help text for -l option

This commit is contained in:
Bob Polis 2020-10-28 15:46:48 +01:00
parent cd203d0e57
commit 1ee2e636eb

View File

@ -37,8 +37,9 @@ bool expired {true};
bool should_run {true};
void print_help() {
std::cout << "usage: screensaver [-h|--version]\n";
std::cout << "usage: screensaver [-h|-l|--version]\n";
std::cout << " -h, --help show this help text and exit\n";
std::cout << " -l, --list show available screensaver modules and exit\n";
std::cout << " --version show version number and exit\n";
}