X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=cli.c;h=1fa1cb1095d747672654973728d2bc22972eb250;hp=4bc023445b2c1d59114aaaa4b8745e6e981019a3;hb=787fb6d4106cfd22485bd89d190be26e2a2c6178;hpb=789aa0a4105c34212c2a4a1be7b0c6095691139c;ds=sidebyside diff --git a/cli.c b/cli.c index 4bc0234..1fa1cb1 100644 --- a/cli.c +++ b/cli.c @@ -15,120 +15,83 @@ #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 [[.
[.