X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fparse-yaml%2Fparse-yaml.c;h=4f46b2212716bf26b5f212118746a32d612b5faf;hb=c58139538f15f6aa5ecd9040ba17ee0f8383dffd;hp=218fe781dd43b5ce8aeff11fb10ba5006a9562b8;hpb=18d03456d96f7a086a2ccc82ce97fcf056848d90;p=protos%2Flibecoli.git diff --git a/examples/parse-yaml/parse-yaml.c b/examples/parse-yaml/parse-yaml.c index 218fe78..4f46b22 100644 --- a/examples/parse-yaml/parse-yaml.c +++ b/examples/parse-yaml/parse-yaml.c @@ -55,7 +55,7 @@ static void usage(const char *prgname) " Set the output file.\n" " -c\n" " --"OPT_COMPLETE"\n" - " Output the completion list." + " Output the completion list.\n" , prgname); } @@ -143,7 +143,7 @@ __dump_as_shell(FILE *f, const struct ec_parse *parse, size_t *seq) __dump_as_shell(f, child, seq); } - if (ec_parse_get_next(parse) != NULL) { + if (ec_parse_next(parse) != NULL) { fprintf(f, "ec_node%zu_next='ec_node%zu'\n", cur_seq, *seq + 1); }