commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haim Raman" <Haim.Ra...@skyboxsecurity.com>
Subject RE: [cli] printHelp removes empty lines from header?
Date Mon, 21 Jun 2004 13:39:02 GMT

Are you using cli 1.0 or 2.0 ?

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



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


Mime
View raw message