Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 24418 invoked from network); 21 Jun 2004 13:30:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Jun 2004 13:30:31 -0000 Received: (qmail 50677 invoked by uid 500); 21 Jun 2004 13:30:24 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 50557 invoked by uid 500); 21 Jun 2004 13:30:23 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 50534 invoked by uid 99); 21 Jun 2004 13:30:22 -0000 Received: from [80.91.224.249] (HELO main.gmane.org) (80.91.224.249) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 21 Jun 2004 06:30:22 -0700 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BcOsH-00050N-00 for ; Mon, 21 Jun 2004 15:30:13 +0200 Received: from 130.199.81.246 ([130.199.81.246]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Jun 2004 15:30:13 +0200 Received: from carcassi by 130.199.81.246 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Jun 2004 15:30:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: commons-user@jakarta.apache.org From: "Gabriele Carcassi" Subject: [cli] printHelp removes empty lines from header? Date: Mon, 21 Jun 2004 09:25:54 -0400 Lines: 17 Message-ID: X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 130.199.81.246 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Sender: news X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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