Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2F15AD950 for ; Sun, 27 Jan 2013 21:35:58 +0000 (UTC) Received: (qmail 99988 invoked by uid 500); 27 Jan 2013 21:35:57 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 99925 invoked by uid 500); 27 Jan 2013 21:35:57 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 99915 invoked by uid 99); 27 Jan 2013 21:35:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jan 2013 21:35:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Jan 2013 21:35:55 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 701CD2388980; Sun, 27 Jan 2013 21:35:35 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1439188 - /commons/proper/cli/trunk/src/changes/changes.xml Date: Sun, 27 Jan 2013 21:35:35 -0000 To: commits@commons.apache.org From: tn@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130127213535.701CD2388980@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tn Date: Sun Jan 27 21:35:35 2013 New Revision: 1439188 URL: http://svn.apache.org/viewvc?rev=1439188&view=rev Log: Complete changes.xml with resolved issues for 1.3 from JIRA. Modified: commons/proper/cli/trunk/src/changes/changes.xml Modified: commons/proper/cli/trunk/src/changes/changes.xml URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/changes/changes.xml?rev=1439188&r1=1439187&r2=1439188&view=diff ============================================================================== --- commons/proper/cli/trunk/src/changes/changes.xml (original) +++ commons/proper/cli/trunk/src/changes/changes.xml Sun Jan 27 21:35:35 2013 @@ -23,6 +23,63 @@ + + Default options will now work correctly with required options that are missing. + + + Default options will now work correctly together with option groups. + + + The javadoc of OptionBuilder now states that the class is not thread-safe. + + + HelpFormatter now supports setting the displayed separator of long options. + + + Improve description of parameter "stopAtNonOption" in method + CommandLine.parse(Options, String[], boolean). + + + Passing default values for not defined options to a parser will now trigger + a ParseException instead of a NullPointerException. + + + HelpFormatter.setArgName(String) now correctly sets the argument name. + + + Default properties provided as input to the Parser.parse() methods are now + correctly processed. + + + CommandLine.getParsedOptionValue() now returns a String object if no + option type has been explicitly set. + + + Fixed typo in javadoc of class CommandLine. + + + Corrected javadoc for return type of MissingOptionException.getMissingOptions(). + + + HelpFormatter now prints command-line options in the same order as they + have been added. + + + Standard help text now shows mandatory arguments also for the first option. + + + HelpFormatter does not strip anymore leading whitespace in the footer text. + + + Strip quotes contained in argument values only if there is exactly one at the + beginning and one at the end. + + + Negative numerical arguments take precedence over numerical options. + + + Fix possible StringIndexOutOfBoundsException in HelpFormatter. + A new parser is available: DefaultParser. It combines the features of the GnuParser and the PosixParser. It also provides additional features like partial matching for the long options, and long options without