mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-04-21 22:39:09 +00:00
fix docs
This commit is contained in:
parent
83a63a30ee
commit
04fadf3333
2 changed files with 1 additions and 2 deletions
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)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue