From: Felix Fietkau Date: Mon, 18 Aug 2008 14:54:57 +0000 (+0200) Subject: add list support X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3bff697cca125a6a4147e3bd1c469b36504e8237;p=uci.git add list support --- diff --git a/cli.c b/cli.c index 5ae345e..cd82938 100644 --- a/cli.c +++ b/cli.c @@ -19,6 +19,7 @@ #define MAX_ARGS 4 /* max command line arguments for batch mode */ +static const char *delimiter = " "; static const char *appname; static enum { CLI_FLAG_MERGE = (1 << 0), @@ -34,6 +35,7 @@ enum { /* section cmds */ CMD_GET, CMD_SET, + CMD_ADD_LIST, CMD_DEL, CMD_RENAME, CMD_REVERT, @@ -61,14 +63,17 @@ static void uci_usage(void) "\tchanges []\n" "\tcommit []\n" "\tadd \n" + "\tadd_list .
.