From: Felix Fietkau Date: Sat, 9 Feb 2008 16:31:21 +0000 (+0100) Subject: reorganize some code, add an extra command for adding unnamed sections X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9f540f2106dcf724e4b8c41489d4bda6ccfe65d8;p=uci.git reorganize some code, add an extra command for adding unnamed sections --- diff --git a/cli.c b/cli.c index 95bc34e..be479c4 100644 --- a/cli.c +++ b/cli.c @@ -43,6 +43,7 @@ enum { CMD_EXPORT, CMD_COMMIT, /* other cmds */ + CMD_ADD, CMD_IMPORT, CMD_HELP, }; @@ -58,6 +59,7 @@ static void uci_usage(void) "\texport []\n" "\timport []\n" "\tchanges []\n" + "\tadd \n" "\tshow [[.
[.