X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=cli.c;h=1c31083871a6a1009c129079be7abd552cc28ddf;hp=e17acb5fe3c18d277a61b09426dd7533c00a38da;hb=71a0126dff93c4e7f81b9fe7d3629b4b706bd162;hpb=4aa3fd762e2190a4e418581cf24446484d0b7df5 diff --git a/cli.c b/cli.c index e17acb5..1c31083 100644 --- a/cli.c +++ b/cli.c @@ -12,9 +12,17 @@ */ #include #include +#include #include "uci.h" +static const char *appname = "uci"; + static struct uci_context *ctx; +enum { + CMD_GET, + CMD_SET, + CMD_DEL +}; static void uci_usage(int argc, char **argv) { @@ -25,6 +33,10 @@ static void uci_usage(int argc, char **argv) "\tshow [[.
[.