Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 32246 invoked from network); 4 Jun 2008 10:16:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jun 2008 10:16:39 -0000 Received: (qmail 44321 invoked by uid 500); 4 Jun 2008 10:16:39 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 44236 invoked by uid 500); 4 Jun 2008 10:16:39 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 44225 invoked by uid 99); 4 Jun 2008 10:16:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2008 03:16:39 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jun 2008 10:15:58 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 82DFDD2EA for ; Wed, 4 Jun 2008 10:16:15 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: dev@commons.apache.org Date: Wed, 04 Jun 2008 10:16:15 -0000 Message-ID: <20080604101615.4892.35083@eos.apache.org> Subject: [Commons Wiki] Update of "CLI2/SampleCodeSingleOptionAndAnArgument" by Andrew Oxenburgh X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification. The following page has been changed by Andrew Oxenburgh: http://wiki.apache.org/commons/CLI2/SampleCodeSingleOptionAndAnArgument ------------------------------------------------------------------------------ - = Example 1 = + = Example 1: Option and an argument = == story == I want to pick up a command line that has both an option and an argument. They are not connected so the following command lines are all valid: {{{ @@ -12, +12 @@ inline:CLIDemoWithOneOptionAndAnArgumentTest.java - = Example 1 = + = Example 2: Option with a argument, and picking it up = == story == I want to pick up a command line that has both an option and that option accepts an argument. They are connected so the following command lines are all valid: {{{ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org