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