Completed help text
This commit is contained in:
parent
10072e4948
commit
7c718b7d96
12
src/main.cpp
12
src/main.cpp
@ -14,9 +14,15 @@
|
|||||||
#include <libscnumerics.hpp>
|
#include <libscnumerics.hpp>
|
||||||
|
|
||||||
void print_help() {
|
void print_help() {
|
||||||
std::cout << "usage: pw [-h|--version]\n";
|
std::cout << "usage: pw [-h|--version] [-c <len>] [-d] [-l] [-u] [-s]\n";
|
||||||
std::cout << " -h, --help show this help text and exit\n";
|
std::cout << " -h, --help show this help text and exit\n";
|
||||||
std::cout << " --version show version number and exit\n";
|
std::cout << " --version show version number and exit\n";
|
||||||
|
std::cout << " -c, --count <num> 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() {
|
void print_version() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user