Revised helpfile style

~ Changed instances of two spaces back to tabs
 ~ Removed equals signs and commas
 ~ Also removed some extra spaces to avoid screen wrapping
This commit is contained in:
N1xis10t 2021-08-25 09:22:33 -06:00 committed by GitHub
parent 49be9641ff
commit 28854e5fc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

70
main.c
View file

@ -86,43 +86,43 @@ static void printhelp(FILE *out,const char *progname)
"Usage: %s FILTER [FILTER...] [OPTION]\n"
" %s -f FILTERFILE [OPTION]\n"
"\n"
" -f, =FILTERFILE specify filter file which contains filters separated\n"
" by newlines\n"
" -D, deduplicate filters\n"
" -q, do not print diagnostic output to stderr\n"
" -x, do not print onion names\n"
" -v, print more diagnostic data\n"
" -o, =FILENAME output onion names to specified file (append)\n"
" -O, =FILENAME output onion names to specified file (overwrite)\n"
" -F, include directory names in onion names output\n"
" -d, =DIRNAME output directory\n"
" -t, =NUMTHREADS specify number of threads to utilise (default - CPU\n"
" core count or 1)\n"
" -j, =NUMTHREADS same as -t\n"
" -n, =NUMKEYS specify number of keys (default - 0 - unlimited)\n"
" -N, =NUMWORDS specify number of words per key (default - 1)\n"
" -Z, use \"slower\" key generation method (initial default)\n"
" -z, use \"faster\" key generation method (later default)\n"
" -B, use batching key generation method (>10x faster than\n"
" -z, current default)\n"
" -s, print statistics each 10 seconds\n"
" -S, =SECONDS print statistics every specified amount of seconds\n"
" -T, do not reset statistics counters when printing\n"
" -y, output generated keys in YAML format instead of\n"
" dumping them to filesystem\n"
" -Y, =[FILENAME [host.onion]]\n"
" parse YAML encoded input and extract key(s) to\n"
" filesystem\n"
"\t-f FILTERFILE specify filter file which contains filters separated\n"
"\t by newlines\n"
"\t-D deduplicate filters\n"
"\t-q do not print diagnostic output to stderr\n"
"\t-x do not print onion names\n"
"\t-v print more diagnostic data\n"
"\t-o FILENAME output onion names to specified file (append)\n"
"\t-O FILENAME output onion names to specified file (overwrite)\n"
"\t-F include directory names in onion names output\n"
"\t-d DIRNAME output directory\n"
"\t-t NUMTHREADS specify number of threads to utilise (default - CPU\n"
"\t core count or 1)\n"
"\t-j NUMTHREADS same as -t\n"
"\t-n NUMKEYS specify number of keys (default - 0 - unlimited)\n"
"\t-N NUMWORDS specify number of words per key (default - 1)\n"
"\t-Z use \"slower\" key generation method (initial default)\n"
"\t-z use \"faster\" key generation method (later default)\n"
"\t-B use batching key generation method (>10x faster than\n"
"\t -z, current default)\n"
"\t-s print statistics each 10 seconds\n"
"\t-S SECONDS print statistics every specified amount of seconds\n"
"\t-T do not reset statistics counters when printing\n"
"\t-y output generated keys in YAML format instead of\n"
"\t dumping them to filesystem\n"
"\t-Y [FILENAME [host.onion]]\n"
"\t parse YAML encoded input and extract key(s) to\n"
"\t filesystem\n"
#ifdef PASSPHRASE
" -p, =PASSPHRASE use passphrase to initialize the random seed with\n"
" -P, same as -p, but takes passphrase from PASSPHRASE\n"
" environment variable\n"
"\t-p PASSPHRASE use passphrase to initialize the random seed with\n"
"\t-P same as -p, but takes passphrase from PASSPHRASE\n"
"\t environment variable\n"
#endif
" --rawyaml raw (unprefixed) public/secret keys for -y/-Y\n"
" (may be useful for tor controller API)\n"
" -h, --help print help to stdout and quit\n"
" --usage same as --help\n"
" --version print version information to stdout and exit\n"
"\t --rawyaml raw (unprefixed) public/secret keys for -y/-Y\n"
"\t (may be useful for tor controller API)\n"
"\t-h --help print help to stdout and quit\n"
"\t --usage same as --help\n"
"\t --version print version information to stdout and exit\n"
"\n"
"Report bugs at: <https://github.com/cathugger/mkp224o/issues>\n"
"mkp224o home page: <https://github.com/cathugger/mkp224o>\n"