summaryrefslogtreecommitdiff
path: root/cli.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-04 17:07:59 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-01-04 17:08:14 +0100
commite4516d01a7d2b0a5a8def7b5791c7d4032138287 (patch)
tree5d783c7f4484527afbb2845bdcf204327ddf4d55 /cli.c
parent517a7725149474b2ce23f693261f8eddc58db02b (diff)
downloaduci-e4516d01a7d2b0a5a8def7b5791c7d4032138287.tar.gz
remove plugin support, it has been unused for a long time and should not be used for any new code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'cli.c')
-rw-r--r--cli.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/cli.c b/cli.c
index 41a78cb..a5b77a8 100644
--- a/cli.c
+++ b/cli.c
@@ -27,7 +27,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;
@@ -147,7 +146,6 @@ static void uci_usage(void)
"\t-c <path> set the search path for config files (default: /etc/config)\n"
"\t-d <str> set the delimiter for list values in uci show\n"
"\t-f <file> use <file> as input instead of stdin\n"
- "\t-L do not load any plugins\n"
"\t-m when importing, merge data into an existing package\n"
"\t-n name unnamed sections on export (default)\n"
"\t-N don't name unnamed sections\n"
@@ -664,9 +662,6 @@ int main(int argc, char **argv)
return 1;
}
break;
- case 'L':
- flags |= CLI_FLAG_NOPLUGINS;
- break;
case 'm':
flags |= CLI_FLAG_MERGE;
break;
@@ -712,9 +707,6 @@ int main(int argc, char **argv)
return 0;
}
- if (!(flags & CLI_FLAG_NOPLUGINS))
- uci_load_plugins(ctx, NULL);
-
ret = uci_cmd(argc - 1, argv + 1);
if (input != stdin)
fclose(input);