And the man support for delete, applies on top of the restructure diff.

diff --git a/ldap.1 b/ldap.1
index 0225f78..296d282 100644
--- a/ldap.1
+++ b/ldap.1
@@ -35,6 +35,17 @@
 .Op Fl z Ar sizelimit
 .Op Ar filter
 .Op Ar attributes ...
+.Nm
+.Cm delete
+.Op Fl rvWxZ
+.Op Fl c Ar CAfile
+.Op Fl D Ar binddn
+.Op Fl f Ar file
+.Op Fl H Ar host
+.Op Fl w Ar secret
+.Op Fl y Ar secretfile
+.Op Fl z Ar sizelimit
+.Op Ar DN ...
 .Sh DESCRIPTION
 The
 .Nm
@@ -186,6 +197,37 @@ entries.
 The default value is 0.
 for no limit.
 .El
+.Ss DELETE
+The
+.Cm delete
+command performs a directory delete request.
+The
+.Ar DN
+arguments are used as a list of DNs to remove from the server.
+If a delete request fails all following delete requests are canceled.
+The
+.Cm delete
+specific options are as follows:
+.Bl -tag -width Ds
+.It Fl f Ar file
+Get a list of DNs from
+.Ar file .
+.Ar File
+is parsed before the
+.Ar DN
+list.
+.It Fl r
+Do a recursive delete.
+.It Fl z Ar sizelimit
+Request the server to limit the search result to a maximum number of
+.Ar sizelimit
+entries.
+The default value is 0.
+for no limit.
+This option is only used in combination with the
+.Fl r
+flag.
+.El
 .Sh FILES
 .Bl -tag -width "/etc/ssl/cert.pemXXX" -compact
 .It Pa /etc/ssl/cert.pem

Reply via email to