expanded help text

This commit is contained in:
Bob Polis 2020-11-22 13:24:54 +01:00
parent 9c5ad84c54
commit 4a3f24ad4f

View File

@ -20,7 +20,12 @@
#include "engine.hpp" #include "engine.hpp"
void print_help() { void print_help() {
std::cout << "usage: autogram [-h|--version]\n"; std::cout << "usage: autogram [-h|--version] ";
std::cout << "[-a <relaxed|strict|pangram] ";
std::cout << "[-i <number>] ";
std::cout << "[-l <nl|en>] ";
std::cout << "[-s <text>] ";
std::cout << "[-v]\n";
std::cout << " -a, --autogram <relaxed|strict|pangram> autogram type, default relaxed\n"; std::cout << " -a, --autogram <relaxed|strict|pangram> autogram type, default relaxed\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 << " -i, --max-iter <number> maximum iterations before restart, default 10\n"; std::cout << " -i, --max-iter <number> maximum iterations before restart, default 10\n";