From: Howard Chu Date: Tue, 29 Sep 2009 07:39:50 +0000 (+0000) Subject: ITS#6258 add -n option to slaptest X-Git-Tag: ACLCHECK_0~207 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=533e9b74019fa613a201dbee2f0e5dc36ee7214d;p=openldap ITS#6258 add -n option to slaptest --- diff --git a/doc/man/man8/slapcat.8 b/doc/man/man8/slapcat.8 index 14cf3b48d4..eda33474a8 100644 --- a/doc/man/man8/slapcat.8 +++ b/doc/man/man8/slapcat.8 @@ -118,6 +118,7 @@ configuration file. The config database .BR slapd\-config (5), is always the first database, so use .B \-n 0 +to select it. The .B \-n diff --git a/doc/man/man8/slaptest.8 b/doc/man/man8/slaptest.8 index f318395c29..a3eefd035b 100644 --- a/doc/man/man8/slaptest.8 +++ b/doc/man/man8/slaptest.8 @@ -13,6 +13,8 @@ slaptest \- Check the suitability of the OpenLDAP slapd.conf file [\c .BI \-F \ confdir\fR] [\c +.BI \-n dbnum\fR] +[\c .BI \-o \ option\fR[ = value\fR]] [\c .BR \-Q ] @@ -62,6 +64,15 @@ config file. If a valid config directory exists then the default config file is ignored. If dry-run mode is also specified, no conversion will occur. .TP +.BI \-n \ dbnum +Add entries to the \fIdbnum\fR-th database listed in the +configuration file. +To only test the config database +.BR slapd\-config (5), +use +.B \-n 0 +as it is always the first database. +.TP .BI \-o \ option\fR[ = value\fR] Specify an .I option