From: Felix Fietkau Date: Sat, 2 Feb 2008 22:01:01 +0000 (+0100) Subject: add stub for uci import X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=commitdiff_plain;h=c57bfa88f8e6850edec6bd4da5881a0b4456c1e0;hp=a49b8b7e23945590fc35c7a8ef904169e856368b add stub for uci import --- diff --git a/cli.c b/cli.c index 3ade534..0d663e1 100644 --- a/cli.c +++ b/cli.c @@ -16,6 +16,10 @@ #include "uci.h" static const char *appname = "uci"; +static enum { + CLI_FLAG_MERGE = (1 << 0), +} flags; +static FILE *input = stdin; static struct uci_context *ctx; enum { @@ -26,6 +30,7 @@ enum { CMD_RENAME, /* package cmds */ CMD_SHOW, + CMD_IMPORT, CMD_EXPORT, CMD_COMMIT, }; @@ -35,14 +40,18 @@ static void uci_usage(int argc, char **argv) fprintf(stderr, "Usage: %s [] []\n\n" "Commands:\n" - "\texport []\n" - "\tshow [[.
[.