diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-02 16:56:39 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-02 18:19:55 +1000 |
commit | 10bd56b34a51cb10f48646584d58f0fdffe85e94 (patch) | |
tree | e078ce61007f55ab819bad756aeb4ee51743fd68 /source4/lib/ldb/tools/ldbsearch.c | |
parent | 1e552770ee25fb34b680ef01bc64e21dc9803782 (diff) | |
download | samba-10bd56b34a51cb10f48646584d58f0fdffe85e94.tar.gz samba-10bd56b34a51cb10f48646584d58f0fdffe85e94.tar.bz2 samba-10bd56b34a51cb10f48646584d58f0fdffe85e94.zip |
use ldb_cmdline_help() in ldbsearch
Diffstat (limited to 'source4/lib/ldb/tools/ldbsearch.c')
-rw-r--r-- | source4/lib/ldb/tools/ldbsearch.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/source4/lib/ldb/tools/ldbsearch.c b/source4/lib/ldb/tools/ldbsearch.c index ba0a2a8927..8f7ee1ce38 100644 --- a/source4/lib/ldb/tools/ldbsearch.c +++ b/source4/lib/ldb/tools/ldbsearch.c @@ -38,14 +38,7 @@ static void usage(void) { printf("Usage: ldbsearch <options> <expression> <attrs...>\n"); - printf("Options:\n"); - printf(" -H ldb_url choose the database (or $LDB_URL)\n"); - printf(" -s base|sub|one choose search scope\n"); - printf(" -b basedn choose baseDN\n"); - printf(" -i read search expressions from stdin\n"); - printf(" -S sort returned attributes\n"); - printf(" -o options pass options like modules to activate\n"); - printf(" e.g: -o modules:timestamps\n"); + ldb_cmdline_help("ldbsearch", stdout); exit(1); } |