added help text for -l option
This commit is contained in:
parent
cd203d0e57
commit
1ee2e636eb
3
main.cpp
3
main.cpp
@ -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";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user