From: Pierangelo Masarati Date: Wed, 17 Aug 2005 17:39:34 +0000 (+0000) Subject: add an example of -a usage (ITS#3930) X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~682 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8801a302fa0c45f6036702ce7bc7e5cb0236e7e7;p=openldap add an example of -a usage (ITS#3930) --- diff --git a/doc/man/man8/slapcat.8 b/doc/man/man8/slapcat.8 index 1609dbf821..d6eb2ff77f 100644 --- a/doc/man/man8/slapcat.8 +++ b/doc/man/man8/slapcat.8 @@ -62,7 +62,14 @@ cannot be used in conjunction with the option. .TP .BI \-a " filter" -Only dump entries matching the asserted filter. +Only dump entries matching the asserted filter. +For example + +slapcat -a \\ + "(!(entryDN:dnSubtreeMatch:=ou=People,dc=example,dc=com))" + +will dump all but the "ou=People,dc=example,dc=com" subtree +of the "dc=example,dc=com" database. .TP .BI \-s " subtree-dn" Only dump entries in the subtree specified by this DN.