You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Gabriele Carcassi <ca...@netbeans.org> on 2004/06/21 15:25:54 UTC

[cli] printHelp removes empty lines from header?

Hi all,

I am trying to format my help messages, and I want to leave an empty line
from the usage section to the options sections (like ls does on many
systems). I have tried:

formatter.printHelp("mycommand -a -b ... ",
        "A wonderful command.\n   \nOptions:",options,"");

But the line in the middle doesn't appear...

Is this a bug or is it intended?

Thanks,
Gabriele Carcassi




---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org