projects
/
project
/
uci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add dynamically generated section names
[project/uci.git]
/
cli.c
diff --git
a/cli.c
b/cli.c
index
ab0f9b8
..
322d170
100644
(file)
--- a/
cli.c
+++ b/
cli.c
@@
-35,6
+35,7
@@
static void uci_show_section(struct uci_section *p)
cname = p->config->name;
sname = p->name;
+ printf("%s.%s=%s\n", cname, sname, p->type);
uci_foreach_entry(option, &p->options, o) {
printf("%s.%s.%s=%s\n", cname, sname, o->name, o->value);
}