X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=cli.c;h=1fe7cc72758346b30516d237b9a987aae5ecbfbd;hp=7dece62f5556878a5f300ffddf88f576c30cec8d;hb=8a3154a1db5078cf211c3ea76171956ba076dd76;hpb=f7df28b4d0155c780fa46a09d2dbcf7825faebae diff --git a/cli.c b/cli.c index 7dece62..1fe7cc7 100644 --- a/cli.c +++ b/cli.c @@ -15,46 +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 [[.
[.