Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 95200 invoked from network); 31 Aug 2004 11:54:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 31 Aug 2004 11:54:02 -0000 Received: (qmail 98694 invoked by uid 500); 31 Aug 2004 11:53:57 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 98626 invoked by uid 500); 31 Aug 2004 11:53:56 -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 70289 invoked by uid 99); 31 Aug 2004 11:31:05 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of maximilianh@gmx.de designates 213.165.64.20 as permitted sender) X-Authenticated: #1699129 Message-ID: <41346134.9030203@gmx.de> Date: Tue, 31 Aug 2004 19:29:56 +0800 From: Maximilian Haeussler User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 X-Accept-Language: en-us, en MIME-Version: 1.0 To: commons-user@jakarta.apache.org Subject: commons cli Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hallo, I couldn't find a mainling list for commons cli. Therefore I'm sending the question to you: How can I build an option with multiple arguments?? And how do I later retreive the values? I don't understand the sourcecode sufficiently. Apart from that, when i set .hasArgs(2) for an option built by the optionbuilder, helpformatter doesn't reflect this in any way, only the last option is printed in the help text. I want something like "-print " but this is far from obvious after having read the documentation. I don't want to introduce an new option "-print -linelength " as -linelength applies only to the "-print" option and to no other options. Thanks! Max --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org