diff --git a/main.c b/main.c index 79552a3..041ccd2 100644 --- a/main.c +++ b/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-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 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); fflush(out); } diff --git a/yaml.c b/yaml.c index cdd418e..31ea949 100644 --- a/yaml.c +++ b/yaml.c @@ -207,7 +207,6 @@ int yamlin_parseandcreate(FILE *fin,char *sname,const char *hostname) hashost = 1; } else skipthis = 1; - break; case PUB: if (len != PUBKEY_LEN || !base64_valid(p,0)) {