X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=cli.c;h=9530198552e194f66e094ca617e05984610247d2;hp=40b5d9115193519e5361f88a0002465f346924f1;hb=c77adc6e931ca6a669c6798b7839c6af18882f05;hpb=81e4f335d5c725e40614c26f9ef4778fa1a4aecf diff --git a/cli.c b/cli.c index 40b5d91..9530198 100644 --- a/cli.c +++ b/cli.c @@ -15,127 +15,191 @@ #include "uci.h" static struct uci_context *ctx; -static char *buf = NULL; -static int buflen = 256; static void uci_usage(int argc, char **argv) { fprintf(stderr, "Usage: %s [] []\n\n" "Commands:\n" - "\tshow [[.
[.