X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=cli.c;h=1c31083871a6a1009c129079be7abd552cc28ddf;hp=410d7e82f06fa2e4e94c8867c128960a945f4e52;hb=71a0126dff93c4e7f81b9fe7d3629b4b706bd162;hpb=eadddde8591e5ab6a8d8dff349affc53d1d4021b diff --git a/cli.c b/cli.c index 410d7e8..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 [[.
[.