From 1ee2e636eb75aa9b5928bfbbc1075a9df00ed4a0 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Wed, 28 Oct 2020 15:46:48 +0100 Subject: [PATCH] added help text for -l option --- main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 1a3d12b..50ff00e 100644 --- a/main.cpp +++ b/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"; }