ITS#6258 add -n option to slaptest

This commit is contained in:
Howard Chu 2009-09-29 07:39:50 +00:00
parent 66570ad5f1
commit 533e9b7401
2 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -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