X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=cli.c;h=3a19b36c9a7bdc193e1b56b702a5a1dacfcae9cd;hp=ab0f9b8890251ece59cdc41c7899fd1f2612ec38;hb=8f5a6c07caaaf5bd692623d1ed8ffbfa20f564d8;hpb=bc7b118f0a40709c985b54c96d826e9057c9f0dd diff --git a/cli.c b/cli.c index ab0f9b8..3a19b36 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 [[.
[.