Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 30296 invoked from network); 29 May 2008 11:02:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 May 2008 11:02:28 -0000 Received: (qmail 72774 invoked by uid 500); 29 May 2008 11:02:29 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 71884 invoked by uid 500); 29 May 2008 11:02:27 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 71873 invoked by uid 99); 29 May 2008 11:02:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 May 2008 04:02:27 -0700 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of john.o.sullivan@ericsson.com designates 193.180.251.62 as permitted sender) Received: from [193.180.251.62] (HELO mailgw4.ericsson.se) (193.180.251.62) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 May 2008 11:01:30 +0000 Received: from mailgw4.ericsson.se (unknown [127.0.0.1]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 73EA5216C9 for ; Thu, 29 May 2008 12:58:59 +0200 (CEST) X-AuditID: c1b4fb3e-ad196bb000004ec0-69-483e8c732c0b Received: from esealmw128.eemea.ericsson.se (unknown [153.88.254.121]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 542792216D for ; Thu, 29 May 2008 12:58:59 +0200 (CEST) Received: from esealmw116.eemea.ericsson.se ([153.88.200.7]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Thu, 29 May 2008 12:58:59 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8C17A.FF0912CE" Subject: Common CLi Usage Date: Thu, 29 May 2008 12:58:59 +0200 Message-ID: <53CCFDD6E346CB43994852666C210E910416C819@esealmw116.eemea.ericsson.se> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Common CLi Usage Thread-Index: AcjBev8ciBg0o8Y2RpqcqN5v1w+7HQ== From: "John O'Sullivan" To: X-OriginalArrivalTime: 29 May 2008 10:58:59.0198 (UTC) FILETIME=[FF3651E0:01C8C17A] X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C8C17A.FF0912CE Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi I new to using the apache commons cli I am struggling to get this correct and would really appreciate any help. I need to add an option to my command line (-p) with a variable number of options like the following.. Note there are other options -a, -f, -d but I am not interested in them for now e.g myApp -p [ |