mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-12-05 21:27:13 -06:00
fix docs
This commit is contained in:
2
main.c
2
main.c
@@ -417,7 +417,7 @@ static void printhelp(FILE *out,const char *progname)
|
|||||||
"\t-S t - print statistics every specified ammount of seconds\n"
|
"\t-S t - print statistics every specified ammount of seconds\n"
|
||||||
"\t-T - do not reset statistics counters when printing\n"
|
"\t-T - do not reset statistics counters when printing\n"
|
||||||
"\t-y - output generated keys in yaml format instead of dumping them to filesystem\n"
|
"\t-y - output generated keys in yaml format instead of dumping them to filesystem\n"
|
||||||
"\t-Y filename host.onion - parse yaml encoded key file and extract key(s) to filesystem\n"
|
"\t-Y [filename [host.onion]] - parse yaml encoded input and extract key(s) to filesystem\n"
|
||||||
,progname,progname);
|
,progname,progname);
|
||||||
fflush(out);
|
fflush(out);
|
||||||
}
|
}
|
||||||
|
|||||||
1
yaml.c
1
yaml.c
@@ -207,7 +207,6 @@ int yamlin_parseandcreate(FILE *fin,char *sname,const char *hostname)
|
|||||||
hashost = 1;
|
hashost = 1;
|
||||||
} else
|
} else
|
||||||
skipthis = 1;
|
skipthis = 1;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case PUB:
|
case PUB:
|
||||||
if (len != PUBKEY_LEN || !base64_valid(p,0)) {
|
if (len != PUBKEY_LEN || !base64_valid(p,0)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user