X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=cli.c;h=322d170d3a613e70c18483eb89ed0fb7fcf86378;hp=ab0f9b8890251ece59cdc41c7899fd1f2612ec38;hb=508525c69e08a96031ed24f2d09e3bc2d1d33fca;hpb=bc7b118f0a40709c985b54c96d826e9057c9f0dd diff --git a/cli.c b/cli.c index ab0f9b8..322d170 100644 --- 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); }