From: Felix Fietkau Date: Mon, 21 Jan 2008 01:46:42 +0000 (+0100) Subject: add uci export X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=81e4f335d5c725e40614c26f9ef4778fa1a4aecf;p=uci.git add uci export --- diff --git a/cli.c b/cli.c index 322d170..40b5d91 100644 --- a/cli.c +++ b/cli.c @@ -15,19 +15,57 @@ #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 [[.
[.