git.droids-corp.org
/
protos
/
libecoli.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
parse-yaml: fix typo
[protos/libecoli.git]
/
examples
/
parse-yaml
/
parse-yaml.c
diff --git
a/examples/parse-yaml/parse-yaml.c
b/examples/parse-yaml/parse-yaml.c
index
218fe78
..
4f46b22
100644
(file)
--- 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"
" Set the output file.\n"
" -c\n"
" --"OPT_COMPLETE"\n"
- " Output the completion list."
+ " Output the completion list.
\n
"
, prgname);
}
, prgname);
}
@@
-143,7
+143,7
@@
__dump_as_shell(FILE *f, const struct ec_parse *parse, size_t *seq)
__dump_as_shell(f, child, 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);
}
fprintf(f, "ec_node%zu_next='ec_node%zu'\n",
cur_seq, *seq + 1);
}