X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=cli.c;h=410d7e82f06fa2e4e94c8867c128960a945f4e52;hp=40b5d9115193519e5361f88a0002465f346924f1;hb=a8c552f656dcc429f03de36f3067522d51bb0b68;hpb=81e4f335d5c725e40614c26f9ef4778fa1a4aecf diff --git a/cli.c b/cli.c index 40b5d91..410d7e8 100644 --- a/cli.c +++ b/cli.c @@ -15,127 +15,168 @@ #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 [[.
[.