X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=cli.c;h=93517bf392b26a54b25f3f814eefa15ed7140278;hp=8ab38504c3614c9f238a2a4a009024b1e046968e;hb=92f4eac56f3cf1bf21c352193e3bf40723a6e87f;hpb=7e840cf19ac6c867b9708257efd93e4a7efaa97e diff --git a/cli.c b/cli.c index 8ab3850..93517bf 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 [[.
[.