[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#6339) ldapsearch -V doesn't exist after version info



--0016364ec88477ac37048f173de5
Content-Type: text/plain; charset=ISO-8859-1

Hi there,

<quote> That's... bizarre. Even slapd doesn't behave that way. Nor any other
program comes immediately to mind. </quote>

Even sounds like an strange behave, as Quanah said, this information should
be included on ldapsearch man page IMHO.

I believe that the following patch could close this BUG:

--- openldap/doc/man/man1/ldapsearch.1.orig    2010-08-31 01:25:23.000000000
-0300
+++ openldap/doc/man/man1/ldapsearch.1    2010-08-31 01:37:50.000000000
-0300
@@ -7,6 +7,8 @@
 .SH SYNOPSIS
 .B ldapsearch
 [\c
+.BR \-V [ V ]]
+[\c
 .BR \-n ]
 [\c
 .BR \-c ]
@@ -107,6 +109,11 @@
 Option \fI\-L\fP controls the format of the output.
 .SH OPTIONS
 .TP
+.BR \-V [ V ]
+Prints the ldapsearch version and proceeds with the search.
+.B \-VV
+Prints the ldapsearch version and quit.
+.TP
 .B \-n
 Show what would be done, but don't actually perform the search.  Useful for
 debugging in conjunction with \fB\-v\fP.

Please review it.

Thanks,

Matheus Morais

--0016364ec88477ac37048f173de5
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi there,<br><br>&lt;quote&gt; That&#39;s... bizarre.  Even slapd doesn&#39=
;t behave that way.  Nor any other program comes immediately to mind. &lt;/=
quote&gt;<br><br>Even sounds like an strange behave, as Quanah said, this i=
nformation should be included on ldapsearch man page IMHO.<br>
<br>I believe that the following patch could close this BUG:<br><br>--- ope=
nldap/doc/man/man1/ldapsearch.1.orig=A0=A0=A0 2010-08-31 01:25:23.000000000=
 -0300<br>+++ openldap/doc/man/man1/ldapsearch.1=A0=A0=A0 2010-08-31 01:37:=
50.000000000 -0300<br>
@@ -7,6 +7,8 @@<br>=A0.SH SYNOPSIS<br>=A0.B ldapsearch<br>=A0[\c<br>+.BR \-=
V [ V ]]<br>+[\c<br>=A0.BR \-n ]<br>=A0[\c<br>=A0.BR \-c ]<br>@@ -107,6 +10=
9,11 @@<br>=A0Option \fI\-L\fP controls the format of the output.<br>=A0.SH=
 OPTIONS<br>
=A0.TP<br>+.BR \-V [ V ]<br>+Prints the ldapsearch version and proceeds wit=
h the search.<br>+.B \-VV<br>+Prints the ldapsearch version and quit.<br>+.=
TP<br>=A0.B \-n<br>=A0Show what would be done, but don&#39;t actually perfo=
rm the search.=A0 Useful for<br>
=A0debugging in conjunction with \fB\-v\fP.<br><br>Please review it.<br><br=
>Thanks,<br><br>Matheus Morais<br>

--0016364ec88477ac37048f173de5--