diff --git a/src/main.cpp b/src/main.cpp index 46d0453..d5a80d1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -14,9 +14,15 @@ #include void print_help() { - std::cout << "usage: pw [-h|--version]\n"; - std::cout << " -h, --help show this help text and exit\n"; - std::cout << " --version show version number and exit\n"; + std::cout << "usage: pw [-h|--version] [-c ] [-d] [-l] [-u] [-s]\n"; + std::cout << " -h, --help show this help text and exit\n"; + std::cout << " --version show version number and exit\n"; + std::cout << " -c, --count password length; default is 24 characters\n"; + std::cout << " -d, --digit allow digits\n"; + std::cout << " -l, --lower allow lower case letters\n"; + std::cout << " -u, --upper allow upper case letters\n"; + std::cout << " -s, --symbol allow symbols and punctuation\n"; + std::cout << "When none of -d, -l, -u, and -s are given, pw acts as if all had been specified.\n"; } void print_version() {