From: Pierangelo Masarati Date: Tue, 18 Mar 2003 10:38:23 +0000 (+0000) Subject: document -u option X-Git-Tag: NO_SLAP_OP_BLOCKS~90 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c4b925f343e75fc7d1d5e040fd8ac8a1d616543e;p=openldap document -u option --- diff --git a/doc/man/man8/slapadd.8 b/doc/man/man8/slapadd.8 index df4ed7bed8..9ffba940ec 100644 --- a/doc/man/man8/slapadd.8 +++ b/doc/man/man8/slapadd.8 @@ -8,6 +8,7 @@ slapadd \- Add entries to a SLAPD database .B SBINDIR/slapadd .B [\-v] .B [\-c] +.B [\-u] .B [\-d level] .B [\-b suffix] .B [\-n dbnum] @@ -43,6 +44,9 @@ enable verbose mode. .B \-c enable continue (ignore errors) mode. .TP +.B \-u +enable dry-run (don't write to backend) mode. +.TP .BI \-d " level" enable debugging messages as defined by the specified .IR level . diff --git a/servers/slapd/tools/slapcommon.c b/servers/slapd/tools/slapcommon.c index 519d1f8c66..d78f3bc0c2 100644 --- a/servers/slapd/tools/slapcommon.c +++ b/servers/slapd/tools/slapcommon.c @@ -47,7 +47,7 @@ usage( int tool ) switch( tool ) { case SLAPADD: - options = "\t[-l ldiffile]\n"; + options = "\t[-l ldiffile] [-u]\n"; break; case SLAPCAT: