X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=cli.c;h=93517bf392b26a54b25f3f814eefa15ed7140278;hb=09a2be57d769a9b0f80e5aff75ec8bc6acae8e9a;hp=1fa1cb1095d747672654973728d2bc22972eb250;hpb=4c95913eae05b8a0b1c8e8e6ff219b9d710d564a;p=project%2Fuci.git diff --git a/cli.c b/cli.c index 1fa1cb1..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 [[.
[.