You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by gf...@visir.is on 2003/02/25 11:11:35 UTC
Bug in the CLI HelpFormatter
I'm not sure where to post this and apologize if this is the wrong place.
I´ve been using the CLI and found the following bug:
The options are not sorted correctly in the HelpFormatter if a "-"
appears in the description text. The problem is in
StringBufferComparator.stripPrefix(String strOption)
which throws away everything preceeding the last "-" in the string.
This is not what the function should be doing.
Gudbjorn
Re: Bug in the CLI HelpFormatter
Posted by John Keyes <jb...@mac.com>.
Thanks Gudbjorn. I've made a note of this and will fix it soon.
-John K
On Tue, 2003-02-25 at 10:11, gfj@visir.is wrote:
> I'm not sure where to post this and apologize if this is the wrong place.
>
> I´ve been using the CLI and found the following bug:
> The options are not sorted correctly in the HelpFormatter if a "-"
> appears in the description text. The problem is in
> StringBufferComparator.stripPrefix(String strOption)
> which throws away everything preceeding the last "-" in the string.
> This is not what the function should be doing.
>
> Gudbjorn
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
--
John Keyes <jb...@mac.com>