X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=cli.c;h=1fe7cc72758346b30516d237b9a987aae5ecbfbd;hp=d83e257e4e2d3ec1e4d362acf60e81c4de15546d;hb=8a3154a1db5078cf211c3ea76171956ba076dd76;hpb=99981540182c29049e971a3cb9a772d7f107b2ab diff --git a/cli.c b/cli.c index d83e257..1fe7cc7 100644 --- a/cli.c +++ b/cli.c @@ -15,39 +15,94 @@ #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 [options] [arguments]\n\n" + "Usage: %s [] []\n\n" "Commands:\n" "\tshow [[.
[.