diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-04 17:07:59 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-04 17:08:14 +0100 |
commit | e4516d01a7d2b0a5a8def7b5791c7d4032138287 (patch) | |
tree | 5d783c7f4484527afbb2845bdcf204327ddf4d55 /cli.c | |
parent | 517a7725149474b2ce23f693261f8eddc58db02b (diff) | |
download | uci-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.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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); |