diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-02 18:31:22 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-02 18:31:59 +1000 |
commit | bde679e6f84b16d63a8007fe48789ee7951b9f34 (patch) | |
tree | 99bf7ac0d8a04dcdf1e9f59e51b3ea4a67aba031 /source4/lib/ldb/tools/ldbdel.c | |
parent | 931771138a52a3385afb2d3966509a57def3ece5 (diff) | |
download | samba-bde679e6f84b16d63a8007fe48789ee7951b9f34.tar.gz samba-bde679e6f84b16d63a8007fe48789ee7951b9f34.tar.bz2 samba-bde679e6f84b16d63a8007fe48789ee7951b9f34.zip |
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
Diffstat (limited to 'source4/lib/ldb/tools/ldbdel.c')
-rw-r--r-- | source4/lib/ldb/tools/ldbdel.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source4/lib/ldb/tools/ldbdel.c b/source4/lib/ldb/tools/ldbdel.c index 232f51681a..ddf168d574 100644 --- a/source4/lib/ldb/tools/ldbdel.c +++ b/source4/lib/ldb/tools/ldbdel.c @@ -61,13 +61,8 @@ static int ldb_delete_recursive(struct ldb_context *ldb, struct ldb_dn *dn) static void usage(void) { printf("Usage: ldbdel <options> <DN...>\n"); - printf("Options:\n"); - printf(" -r recursively delete the given subtree\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("Deletes records from a ldb\n\n"); + ldb_cmdline_help("ldbdel", stdout); exit(1); } |