X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=cli.c;h=e42555468d9f8c44a071a5d2997954bd0ae3629b;hp=cfbf26171531bb5d35a6e0d74136c7d71d709da4;hb=a6a745338cd004a88edaaace5ca145a4411cdda9;hpb=ef95525edc1ade7e729187b011de889b8f5f57c6 diff --git a/cli.c b/cli.c index cfbf261..e425554 100644 --- a/cli.c +++ b/cli.c @@ -14,6 +14,8 @@ #include #include #include +#include +#include #include #include "uci.h" @@ -27,7 +29,6 @@ static enum { CLI_FLAG_NOCOMMIT = (1 << 2), CLI_FLAG_BATCH = (1 << 3), CLI_FLAG_SHOW_EXT = (1 << 4), - CLI_FLAG_NOPLUGINS= (1 << 5), } flags; static FILE *input; @@ -38,6 +39,7 @@ enum { CMD_GET, CMD_SET, CMD_ADD_LIST, + CMD_DEL_LIST, CMD_DEL, CMD_RENAME, CMD_REVERT, @@ -133,10 +135,11 @@ static void uci_usage(void) "\tcommit []\n" "\tadd \n" "\tadd_list .
.