From 3b29f9c66e68abff8c49390d97b71b4762d28417 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 25 Mar 2010 15:06:40 +1100 Subject: s4-ldb: removed unused command line options -I and -O These are not used anywehere, so they just confuse people Pair-Programmed-With: Andrew Bartlett --- source4/lib/ldb/tools/cmdline.c | 2 -- source4/lib/ldb/tools/cmdline.h | 2 -- 2 files changed, 4 deletions(-) (limited to 'source4/lib') diff --git a/source4/lib/ldb/tools/cmdline.c b/source4/lib/ldb/tools/cmdline.c index 869d5ca8c3..180923fc63 100644 --- a/source4/lib/ldb/tools/cmdline.c +++ b/source4/lib/ldb/tools/cmdline.c @@ -56,8 +56,6 @@ static struct poptOption popt_options[] = { { "all", 'a', POPT_ARG_NONE, &options.all_records, 0, "(|(objectClass=*)(distinguishedName=*))", NULL }, { "nosync", 0, POPT_ARG_NONE, &options.nosync, 0, "non-synchronous transactions", NULL }, { "sorted", 'S', POPT_ARG_NONE, &options.sorted, 0, "sort attributes", NULL }, - { "input", 'I', POPT_ARG_STRING, &options.input, 0, "Input File", "Input" }, - { "output", 'O', POPT_ARG_STRING, &options.output, 0, "Output File", "Output" }, { NULL, 'o', POPT_ARG_STRING, NULL, 'o', "ldb_connect option", "OPTION" }, { "controls", 0, POPT_ARG_STRING, NULL, 'c', "controls", NULL }, { "show-binary", 0, POPT_ARG_NONE, &options.show_binary, 0, "display binary LDIF", NULL }, diff --git a/source4/lib/ldb/tools/cmdline.h b/source4/lib/ldb/tools/cmdline.h index 52e7eceabf..e82b2ee593 100644 --- a/source4/lib/ldb/tools/cmdline.h +++ b/source4/lib/ldb/tools/cmdline.h @@ -41,8 +41,6 @@ struct ldb_cmdline { int num_records; int num_searches; const char *sasl_mechanism; - const char *input; - const char *output; const char **controls; int show_binary; int tracing; -- cgit