From bde679e6f84b16d63a8007fe48789ee7951b9f34 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 2 Sep 2009 18:31:22 +1000 Subject: show the full set of command line options for ldb tools I always found it hard to remember some of the options. We might as well use popt to give us the full list --- source4/lib/ldb/tools/ldbrename.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'source4/lib/ldb/tools/ldbrename.c') diff --git a/source4/lib/ldb/tools/ldbrename.c b/source4/lib/ldb/tools/ldbrename.c index 01ed3d9835..fcae766a20 100644 --- a/source4/lib/ldb/tools/ldbrename.c +++ b/source4/lib/ldb/tools/ldbrename.c @@ -39,12 +39,8 @@ static void usage(void) { printf("Usage: ldbrename [] \n"); - printf("Options:\n"); - printf(" -H ldb_url choose the database (or $LDB_URL)\n"); - printf(" -o options pass options like modules to activate\n"); - printf(" e.g: -o modules:timestamps\n"); - printf("\n"); printf("Renames records in a ldb\n\n"); + ldb_cmdline_help("ldbmodify", stdout); exit(1); } -- cgit